:root {
  /* Brand: neutral charcoal canvas with pink/magenta sun accents (sunrise lockup) */
  --bg: #08080a;
  --bg-veil: #0d0d10;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-strong: rgba(255, 255, 255, 0.075);
  --ink: #f5f5f6;
  --muted: #a1a1aa;
  --silver: #d4d4d8;
  --line: rgba(255, 255, 255, 0.09);
  /* Brand ramp (mapped to legacy --gold*/--teal* names so existing rules light up) */
  --brand-pink: #ec4899;
  --brand-pink-bright: #f9a8d4;
  --brand-pink-light: #fbcfe8;
  --brand-pink-deep: #9d174d;
  --brand-magenta: #d946ef;
  --brand-magenta-deep: #a21caf;
  --brand-purple: #a855f7;
  --brand-purple-deep: #7e22ce;
  --brand-orange: #fb923c;
  --gold: var(--brand-pink);
  --gold-bright: var(--brand-pink-bright);
  --gold-dim: var(--brand-pink-deep);
  --teal: var(--brand-purple);
  --teal-deep: var(--brand-pink-light);
  --teal-soft: rgba(236, 72, 153, 0.12);
  --shadow: 0 24px 64px rgba(0, 0, 0, 0.6);
  --glow: 0 0 38px rgba(236, 72, 153, 0.18);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  /* Legacy monogram tokens still referenced by older rules; mapped to new brand */
  --mono-l: var(--brand-pink);
  --mono-l-bright: var(--brand-pink-bright);
  --mono-l-deep: var(--brand-pink-deep);
  --mono-sep: var(--silver);
  --mono-a: var(--ink);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: Poppins, "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(ellipse 80% 40% at 50% -10%, rgba(236, 72, 153, 0.025), transparent 65%),
    linear-gradient(180deg, #0d0d10 0%, var(--bg) 45%, #050507 100%);
  line-height: 1.6;
  min-height: 100vh;
  text-shadow: none;
}
a {
  color: var(--ink);
  text-decoration: none;
}
a:hover {
  color: #ffffff;
}

/* Inline content links: white text with a thin pink-accent underline */
p a,
li a,
.desc a,
.lede a {
  text-decoration: underline;
  text-decoration-color: rgba(236, 72, 153, 0.55);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
p a:hover,
li a:hover,
.desc a:hover,
.lede a:hover {
  text-decoration-color: rgba(236, 72, 153, 0.95);
}

.shell {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.25rem 3.5rem;
}
header {
  padding: 1.25rem 0 1rem;
}
.site-header {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

/* Top utility bar — small status/contact strip above the masthead */
.utility-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.45rem 1.2rem;
  padding: 0.5rem 1.15rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--line);
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  color: var(--muted);
  text-transform: uppercase;
}
.utility-left,
.utility-right {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.utility-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  color: var(--silver);
}
.utility-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand-pink);
  box-shadow: 0 0 10px rgba(236, 72, 153, 0.55);
  display: inline-block;
}
.utility-status {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 700;
  color: var(--silver);
}
.utility-status::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 8px rgba(74, 222, 128, 0.55);
}
.utility-divider {
  display: inline-block;
  width: 1px;
  height: 11px;
  background: var(--line);
}
.utility-link {
  color: var(--silver);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.06em;
  transition: color 0.18s ease;
}
.utility-link:hover {
  color: var(--gold-bright);
  text-decoration: none;
}

.split-brand-about.block {
  padding: 0;
  border-radius: var(--radius-lg) !important;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: 0;
  overflow: hidden;
  background: var(--surface);
  position: relative;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}
.split-brand-about-visual {
  display: flex;
  flex-direction: column;
  padding: 1.35rem 1.35rem 1.35rem 1.5rem;
  border-right: 1px solid var(--line);
  /* Same plane as the logo art — avoids “box in a box” on the About panel */
  background: #0a050d;
  min-height: 0;
  position: relative;
  z-index: 1;
}
.split-brand-about-visual .section-kicker {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0 0 1.05rem;
  padding-bottom: 0.55rem;
  flex: 0 0 auto;
  position: relative;
}
.split-brand-about-visual .section-kicker::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 42px;
  height: 1.5px;
  background: var(--brand-pink);
  border-radius: 1px;
}
/* Decorative half-sun bleeding off the right edge of the section. Tuned so the
   orb itself sits at/past the right edge — only a sliver of the dark core is
   visible inside the prose pane, while the rays fan softly across it. */
.split-brand-about-decor {
  position: absolute;
  top: 50%;
  right: -25%;
  transform: translateY(-50%);
  width: 50%;
  max-width: 620px;
  aspect-ratio: 1 / 1;
  pointer-events: none;
  z-index: 0;
  opacity: 0.55;
}
.split-brand-about-decor svg {
  display: block;
  width: 100%;
  height: 100%;
}
.split-brand-about .services-brand-figure,
.split-brand-about .about-visual-card {
  margin: 0;
  flex: 1 1 auto;
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #0a050d;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
  max-height: none;
}
.split-brand-about .about-visual-card {
  /* Flush with the column: no second frame */
  border: none;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  padding: 0.35rem 0 0.75rem;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  gap: 0.85rem;
}
.split-brand-about .services-brand-figure img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  vertical-align: middle;
}
/* About page "What we build" infographic — surfaces (top) connected to engine (bottom) by a horizon line */
.about-infographic {
  display: grid;
  gap: 0.5rem;
  width: 100%;
  padding: 0.5rem 0.25rem;
}
.ai-row-label {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-pink-light);
  margin: 0;
  position: relative;
  display: inline-block;
}
.ai-row-label::after {
  content: "";
  position: absolute;
  left: 0;
  width: 32px;
  height: 1.5px;
  background: var(--brand-pink);
  border-radius: 1px;
}
.ai-row--surfaces .ai-row-label {
  margin-bottom: 0.7rem;
  padding-bottom: 0.4rem;
}
.ai-row--surfaces .ai-row-label::after { bottom: 0; }
.ai-row--engine {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
.ai-row--engine .ai-tiles { width: 100%; }
.ai-row--engine .ai-row-label {
  margin-top: 0.7rem;
  padding-top: 0.4rem;
  text-align: right;
}
.ai-row--engine .ai-row-label::after {
  top: 0;
  right: 0;
  left: auto;
}
.ai-tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
}
.ai-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.32rem;
  padding: 0.85rem 0.45rem 0.75rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--line);
  text-align: center;
  min-width: 0;
}
.ai-tile--engine {
  background: rgba(0, 0, 0, 0.32);
}
.ai-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(236, 72, 153, 0.06);
  border: 1px solid rgba(236, 72, 153, 0.22);
  color: var(--brand-pink);
}
.ai-icon svg { width: 20px; height: 20px; }
.ai-label {
  font-size: 0.86rem;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.ai-tech {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.66rem;
  color: var(--muted);
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.ai-horizon {
  position: relative;
  height: 6px;
  margin: 0.6rem 0;
  /* Stacked radial gradients = 4 small dots + a brighter center sparkle, on top
     of a soft horizon line. Avoids extra DOM nodes. */
  background:
    radial-gradient(circle at 18% 50%, rgba(236, 72, 153, 0.95) 0, rgba(236, 72, 153, 0.95) 1.6px, transparent 2.6px),
    radial-gradient(circle at 32% 50%, rgba(236, 72, 153, 0.85) 0, rgba(236, 72, 153, 0.85) 1.4px, transparent 2.4px),
    radial-gradient(circle at 50% 50%, #fbcfe8 0, rgba(236, 72, 153, 0.95) 30%, rgba(236, 72, 153, 0.35) 65%, transparent 100%) 0 0 / 14px 10px no-repeat,
    radial-gradient(circle at 68% 50%, rgba(236, 72, 153, 0.85) 0, rgba(236, 72, 153, 0.85) 1.4px, transparent 2.4px),
    radial-gradient(circle at 82% 50%, rgba(236, 72, 153, 0.95) 0, rgba(236, 72, 153, 0.95) 1.6px, transparent 2.6px),
    linear-gradient(180deg,
      transparent calc(50% - 0.6px),
      rgba(236, 72, 153, 0.50) calc(50% - 0.6px),
      rgba(236, 72, 153, 0.55) 50%,
      rgba(236, 72, 153, 0.50) calc(50% + 0.6px),
      transparent calc(50% + 0.6px)
    );
  background-position: center;
  background-repeat: no-repeat, no-repeat, no-repeat, no-repeat, no-repeat, no-repeat;
}
@media (max-width: 540px) {
  .ai-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.4rem; }
  .ai-tile { padding: 0.65rem 0.25rem 0.55rem; }
  .ai-tech { font-size: 0.6rem; }
  .ai-icon { width: 30px; height: 30px; }
  .ai-icon svg { width: 16px; height: 16px; }
}
.split-brand-about-text {
  padding: 1.5rem 1.65rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 0;
  background: rgba(255, 255, 255, 0.02);
  position: relative;
  z-index: 1;
}
.split-brand-about-text h2 {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0 0 1.05rem;
  padding-bottom: 0.55rem;
  position: relative;
}
.split-brand-about-text h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 42px;
  height: 1.5px;
  background: var(--brand-pink);
  border-radius: 1px;
}
.split-brand-about-text .desc {
  font-size: 1rem;
  color: var(--muted);
  margin: 0 0 0.85rem;
  max-width: 36rem;
}
.split-brand-about-text .desc:last-child {
  margin-bottom: 0;
}
.masthead {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.75rem;
  padding: 1.5rem 1.85rem;
  min-height: clamp(120px, 13vw, 160px);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01));
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.brand-block {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  min-width: 0;
  flex: 1 1 auto;
  max-width: min(100%, 56rem);
}
.brand-tagline {
  display: block;
  font-size: clamp(0.85rem, 1.18vw, 1rem);
  line-height: 1.5;
  color: var(--muted);
  max-width: 22rem;
  margin: 0;
  border-left: 2px solid rgba(236, 72, 153, 0.45);
  padding-left: 0.95rem;
  font-weight: 400;
  letter-spacing: 0.005em;
  text-transform: none;
}
.brand-tagline strong {
  color: var(--silver);
  font-weight: 700;
}
@media (max-width: 820px) {
  .brand-tagline { display: none; }
}
.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 0;
  text-decoration: none;
  color: inherit;
  min-width: 0;
  line-height: 1;
  padding: 0.15rem 0.25rem;
}
.brand-lockup:hover {
  text-decoration: none;
}
.brand-logo {
  display: block;
  width: auto;
  height: clamp(96px, 11vw, 130px);
  flex: 0 0 auto;
  border-radius: 14px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06),
    0 14px 30px rgba(0, 0, 0, 0.5),
    0 0 22px rgba(236, 72, 153, 0.12);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.brand-lockup:hover .brand-logo,
.brand-lockup:focus-visible .brand-logo {
  box-shadow:
    0 0 0 1px rgba(236, 72, 153, 0.45),
    0 18px 36px rgba(0, 0, 0, 0.55),
    0 0 32px rgba(236, 72, 153, 0.22);
  transform: translateY(-1px);
}
.brand-bloom,
.brand-monogram,
.brand-mono-l,
.brand-mono-sep,
.brand-mono-a,
.brand-mark-wrap,
.brand-wordmark,
.brand-wordmark-main,
.brand-wordmark-sub {
  display: none;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem 0.45rem;
  justify-content: flex-end;
  align-items: center;
  flex: 0 0 auto;
  max-width: 100%;
}
nav a {
  color: var(--silver);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.25;
  padding: 0.6rem 0.95rem;
  border-radius: 999px;
  text-shadow: none;
  transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}
nav a:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  text-decoration: none;
}
nav a:focus-visible {
  outline: 2px solid rgba(236, 72, 153, 0.85);
  outline-offset: 3px;
  border-radius: 999px;
}

main { margin-top: 1.35rem; }
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.95fr);
  gap: 1.3rem;
  align-items: stretch;
  margin-bottom: 1.5rem;
}
.hero-copy,
.hero-aside,
section.block:not(.split-brand-about),
.products-shell {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}
.hero-copy {
  padding: 2.2rem;
  position: relative;
  overflow: hidden;
}
.hero-copy::after {
  content: "";
  position: absolute;
  inset: auto -80px -110px auto;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.025), transparent 70%);
  pointer-events: none;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--silver);
  margin-bottom: 0.9rem;
}
.hero h2 {
  font-size: clamp(1.28rem, 2.35vw, 1.85rem);
  line-height: 1.22;
  letter-spacing: -0.02em;
  font-weight: 700;
  text-transform: none;
  max-width: min(100%, 36rem);
  margin-bottom: 0.85rem;
  color: var(--ink);
}
.intro {
  font-size: 1.02rem;
  color: var(--muted);
  max-width: 38rem;
  margin-bottom: 1rem;
  line-height: 1.62;
}
.hero-stack-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64748b;
  margin: 0 0 0.4rem;
  max-width: 38rem;
}
.hero-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.45rem;
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
  max-width: 38rem;
}
.hero-stack li {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.28rem 0.5rem;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--silver);
  letter-spacing: 0.02em;
}
.hero-note {
  font-size: 0.88rem;
  color: var(--muted);
  max-width: 38rem;
  margin-bottom: 1.15rem;
  line-height: 1.55;
  border-left: 3px solid rgba(236, 72, 153, 0.45);
  padding-left: 0.85rem;
}
.hero + .intro { display: none; }
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.hero-chip {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.5rem 0.75rem;
  font-size: 0.76rem;
  color: var(--muted);
  line-height: 1.35;
}
.hero-chip strong { color: var(--silver); font-weight: 700; }
.hero-aside {
  padding: 1.35rem;
  display: grid;
  gap: 0.9rem;
  align-content: start;
}
.aside-card {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1rem 1rem 1.05rem;
}
.aside-card h3 {
  font-size: 0.9rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--silver);
  margin-bottom: 0.45rem;
}
.aside-card p {
  color: var(--muted);
  font-size: 0.94rem;
}
.mini-list {
  list-style: none;
  display: grid;
  gap: 0.7rem;
}
.mini-list li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  color: var(--muted);
  font-size: 0.94rem;
}
.mini-list strong {
  color: var(--ink);
  display: block;
  margin-bottom: 0.1rem;
}
.mini-dot {
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
  flex: 0 0 auto;
  margin-top: 0.45rem;
  background: linear-gradient(135deg, var(--teal), var(--gold-bright));
  box-shadow: 0 0 0 6px rgba(168, 85, 247, 0.12), 0 0 14px rgba(236, 72, 153, 0.35);
}

.banner {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--line);
  border-left: 3px solid var(--brand-pink);
  border-radius: var(--radius-md);
  padding: 1rem 1.15rem;
  margin-bottom: 1.4rem;
  font-size: 0.98rem;
  color: var(--silver);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}
.banner strong { color: var(--ink); font-weight: 800; }
.banner a {
  color: var(--ink);
  font-weight: 800;
}
.banner a:hover {
  color: #fff;
}

.content-grid {
  display: grid;
  gap: 1.25rem;
}
section.block:not(.split-brand-about) {
  padding: 1.85rem;
  margin-bottom: 0;
}

/* Space stacked content cards on pages like Services (process + tooling) */
main > section.block:not(.split-brand-about) + section.block:not(.split-brand-about) {
  margin-top: 1.35rem;
}
main > .service-grid + section.block:not(.split-brand-about) {
  margin-top: 1.35rem;
}
section.block h2 {
  font-size: 1.35rem;
  color: var(--ink);
  margin-bottom: 0.45rem;
  letter-spacing: -0.03em;
}
section.block > p.desc {
  font-size: 1rem;
  color: var(--muted);
  margin-bottom: 1.15rem;
  max-width: 42rem;
}

/* Privacy / terms and similar long-form interior pages */
.legal-prose {
  max-width: 46rem;
}
.legal-prose h2 {
  margin-top: 1.35rem;
}
.legal-prose > h2:first-of-type {
  margin-top: 0;
}
.legal-prose p.desc {
  margin-bottom: 0.85rem;
}
.legal-prose ul:not(.checks) {
  margin: 0 0 1.1rem 1.2rem;
  padding: 0;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.6;
}
.legal-prose ul:not(.checks) li {
  margin-bottom: 0.45rem;
}
.legal-prose strong {
  color: var(--silver);
}
.interior-head .lede.legal-meta {
  font-size: 0.95rem;
  color: var(--muted);
  max-width: 46rem;
}

ul.checks {
  margin: 0 0 1.25rem 1.1rem;
  color: var(--muted);
  font-size: 0.96rem;
}
ul.checks li { margin-bottom: 0.42rem; }

.form-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; margin-top: 1rem; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.72rem 1.15rem;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 800;
  color: #fff;
  border: none;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
}
.btn:hover {
  opacity: 1;
  transform: translateY(-1px);
  text-decoration: none;
}
.btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }
.btn:focus-visible {
  outline: 2px solid rgba(236, 72, 153, 0.95);
  outline-offset: 3px;
}
.btn-teal {
  background: linear-gradient(135deg, var(--brand-pink-deep) 0%, var(--brand-pink) 45%, var(--brand-purple) 100%);
  color: #ffffff;
  text-shadow: none;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.45), var(--glow);
}
.btn-teal:hover {
  color: #ffffff;
}
.btn-outline {
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.18);
}
.btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
}

.field { margin-bottom: 1rem; }
.field label {
  display: block;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.35rem;
}
.field input, .field textarea, .field select {
  width: 100%;
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 0.96rem;
  font-family: inherit;
  color: var(--ink);
  background: rgba(0, 0, 0, 0.35);
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.32);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.06);
}
.field input:focus-visible, .field textarea:focus-visible, .field select:focus-visible {
  outline: 2px solid rgba(236, 72, 153, 0.7);
  outline-offset: 2px;
}
.field input:focus:not(:focus-visible), .field textarea:focus:not(:focus-visible), .field select:focus:not(:focus-visible) {
  outline: none;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input[type="file"] {
  padding: 0.55rem 0.65rem;
  border-style: dashed;
  cursor: pointer;
  font-size: 0.85rem;
  color: var(--muted);
}
.field small { display: block; margin-top: 0.3rem; color: var(--muted); font-size: 0.8rem; line-height: 1.45; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 1rem; font-size: 0.9rem; min-height: 1.4em; }
.form-status.ok { color: #7dffb0; }
.form-status.err { color: #ff8a8a; }

.client-links { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 1.1rem; }
.turnstile-slot { margin: 0.5rem 0 0.75rem; min-height: 4px; }

.products-shell {
  padding: 1.85rem;
  margin-top: 1.25rem;
}
.products-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.1rem;
}
.products-head h2 {
  font-size: 1.45rem;
  letter-spacing: -0.03em;
}
.products-head p {
  color: var(--muted);
  max-width: 38rem;
}
.products {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  align-items: stretch;
}

.card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(0, 0, 0, 0.2));
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 1.5rem;
  text-align: left;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.4);
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.55);
  border-color: rgba(255, 255, 255, 0.22);
}
.product-head {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 0.9rem;
}
.card .product-icon {
  width: 56px;
  height: 56px;
  min-width: 56px;
  min-height: 56px;
  border-radius: 18px;
  display: block;
  overflow: hidden;
  object-fit: contain;
  object-position: center;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 0 0 1px var(--line);
  padding: 0.2rem;
  flex-shrink: 0;
}
.product-meta {
  min-width: 0;
}
.product-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.2rem 0.55rem 0.2rem 0.5rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--silver);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.35rem;
}
.product-tag::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-pink);
  box-shadow: 0 0 6px rgba(236, 72, 153, 0.45);
}
.card h2 { font-size: 1.25rem; color: var(--ink); letter-spacing: -0.02em; }
.card p {
  font-size: 0.96rem;
  color: var(--muted);
  margin-bottom: 0;
  flex: 1 1 auto;
}
.card .btn {
  text-decoration: none;
  margin-top: 1rem;
  align-self: flex-start;
}

footer {
  text-align: center;
  padding: 3rem 1.5rem 2rem;
  margin-top: 2.5rem;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
  border-top: 1px solid var(--line);
}
footer p {
  margin: 0;
}
/* "Built by Lucht Applications" credit banner — single SVG lockup tile. */
.footer-credit {
  display: inline-block;
  margin: 0 auto 1.4rem;
  border-radius: 18px;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.18s ease, transform 0.18s ease;
}
.footer-credit:hover {
  text-decoration: none;
  color: inherit;
  transform: translateY(-1px);
}
.footer-credit:focus-visible {
  outline: 2px solid rgba(236, 72, 153, 0.65);
  outline-offset: 4px;
  border-radius: 18px;
}
.footer-credit-img {
  display: block;
  width: clamp(280px, 36vw, 420px);
  height: auto;
  max-width: 92%;
  border-radius: 18px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06),
    0 14px 30px rgba(0, 0, 0, 0.5),
    0 0 22px rgba(236, 72, 153, 0.12);
  transition: box-shadow 0.18s ease;
}
.footer-credit:hover .footer-credit-img,
.footer-credit:focus-visible .footer-credit-img {
  box-shadow:
    0 0 0 1px rgba(236, 72, 153, 0.45),
    0 18px 36px rgba(0, 0, 0, 0.55),
    0 0 32px rgba(236, 72, 153, 0.22);
}
footer a { color: var(--silver); }
footer a:hover { color: #ffffff; }
@media (max-width: 540px) {
  footer { font-size: 0.95rem; padding: 2.5rem 1rem 1.75rem; }
  .footer-credit-img { width: clamp(220px, 80vw, 320px); border-radius: 14px; }
}

@media (min-width: 961px) {
  .masthead {
    flex-wrap: nowrap;
  }
  nav {
    flex-wrap: nowrap;
    margin-left: auto;
  }
}
@media (max-width: 960px) {
  .masthead {
    border-radius: 0;
    justify-content: center;
    text-align: center;
  }
  .brand-block {
    flex: 1 1 100%;
    max-width: none;
  }
  .brand-lockup {
    justify-content: center;
    width: 100%;
  }
  .brand-lockup::before {
    margin: 0 auto;
  }
  .brand-wordmark {
    align-items: center;
    text-align: center;
  }
  nav {
    justify-content: center;
    width: 100%;
    flex: 1 1 100%;
  }
  .hero {
    grid-template-columns: 1fr;
  }
  .products {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 800px) {
  .split-brand-about.block {
    grid-template-columns: 1fr;
  }
  .split-brand-about-visual {
    border-right: none;
    border-bottom: 1px solid var(--line);
    min-height: 240px;
  }
  .split-brand-about-text {
    min-height: 0;
  }
  /* On stacked layout the decor would clip awkwardly across both columns; pin it
     to the bottom-right of the prose pane so it still shows without overlapping
     the infographic. */
  .split-brand-about-decor {
    top: auto;
    bottom: -22%;
    right: -32%;
    transform: none;
    width: 60%;
    opacity: 0.45;
  }
}
@media (max-width: 540px) {
  .split-brand-about-decor { display: none; }
}
@media (max-width: 640px) {
  .shell { padding: 0 0.95rem 2.75rem; }
  .utility-bar {
    border-radius: 16px;
    padding: 0.55rem 0.85rem;
    font-size: 0.68rem;
    justify-content: center;
    text-align: center;
  }
  .utility-left,
  .utility-right {
    justify-content: center;
    gap: 0.55rem;
  }
  .hero-copy, .hero-aside, section.block:not(.split-brand-about), .products-shell { padding: 1.35rem; }
  .split-brand-about.block .split-brand-about-visual,
  .split-brand-about.block .split-brand-about-text {
    padding: 1.2rem 1.1rem;
  }
  .hero h2 {
    max-width: none;
  }
  .hero-stack {
    justify-content: flex-start;
  }
  nav { gap: 0.35rem; }
  nav a { font-size: 0.76rem; padding: 0.48rem 0.72rem; }
  .product-head { align-items: flex-start; }
}

nav a[aria-current="page"] {
  background: rgba(255, 255, 255, 0.07);
  color: #ffffff;
  text-decoration: none;
  box-shadow: inset 0 -2px 0 rgba(236, 72, 153, 0.6);
  border-radius: 999px;
}

.interior-head {
  margin-bottom: 1.5rem;
  max-width: 42rem;
}
.interior-head h1 {
  font-size: clamp(1.65rem, 3.2vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0.35rem 0 0.85rem;
  max-width: none;
  line-height: 1.12;
  color: var(--ink);
}
.interior-head .lede {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 42rem;
  line-height: 1.65;
}
.service-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  margin: 1rem 0 1.5rem;
}
.service-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.35rem;
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}
.service-card h3 {
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--silver);
  margin-bottom: 0.55rem;
}
.service-card p {
  color: var(--muted);
  font-size: 0.94rem;
  margin: 0;
  line-height: 1.55;
}
.stack-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0.75rem 0 0;
  padding: 0;
  list-style: none;
}
.stack-row li {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.78rem;
  padding: 0.28rem 0.55rem;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--line);
  color: var(--silver);
}
.link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1rem;
}
.teaser-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
}
.teaser {
  display: block;
  padding: 1.25rem 1.35rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
  transition: border-color 0.18s ease, transform 0.18s ease;
}
.teaser:hover {
  border-color: rgba(255, 255, 255, 0.22);
  transform: translateY(-2px);
  text-decoration: none;
}
.teaser h3 {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--silver);
  margin-bottom: 0.45rem;
}
.teaser p {
  color: var(--muted);
  font-size: 0.92rem;
  margin: 0;
  line-height: 1.5;
}

.optional-hint {
  font-weight: 400;
  color: var(--muted);
}
.top-gap {
  margin-top: 1.5rem;
}
.center-note {
  margin-top: 1.5rem;
  text-align: center;
}
.desc.tight-bottom {
  margin-top: 1rem;
  margin-bottom: 0;
}
.desc.follow-block {
  margin-top: 1.35rem;
  margin-bottom: 0;
}
.link-row.spaced {
  margin-top: 1.25rem;
}

/* Home: project pillars (reference layout, blue/silver theme) */
.pillars {
  margin: 1.5rem 0 1.25rem;
  padding: 2rem 1.35rem 1.85rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: linear-gradient(165deg, rgba(20, 20, 24, 0.92), rgba(8, 8, 11, 0.96));
}
.pillars-head {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 0.25rem;
}
.pillars-head h2 {
  font-size: clamp(1.2rem, 2.8vw, 1.5rem);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 0.5rem;
}
.pillars-head .desc {
  margin-bottom: 0;
  color: var(--muted);
}
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
  align-items: stretch;
}
.pillar-card {
  text-align: left;
  padding: 1.35rem 1.25rem 1.3rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(12px);
  transition: border-color 0.18s ease, transform 0.18s ease;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.pillar-card:hover {
  border-color: rgba(255, 255, 255, 0.22);
  transform: translateY(-2px);
}
.pillar-icon-wrap {
  width: 4.25rem;
  height: 4.25rem;
  margin: 0 0 0.95rem;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  color: var(--silver);
}
.pillar-icon-wrap svg {
  width: 2.25rem;
  height: 2.25rem;
}
.pillar-title {
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--silver);
  margin-bottom: 0.35rem;
}
.pillar-kicker {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.65rem;
}
.pillar-desc {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.55;
  text-align: left;
}
.pillars-tagline {
  margin-top: 1.65rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--silver);
}
@media (max-width: 820px) {
  .pillars-grid {
    grid-template-columns: 1fr;
    max-width: 26rem;
    margin-left: auto;
    margin-right: auto;
  }
}
