/* =========================================
   BLK BX — Glassmorphism / Architectural
   ========================================= */

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

:root {
  --bg:            #ffffff;
  --glass:         rgba(255, 255, 255, 0.52);
  --glass-hover:   rgba(255, 255, 255, 0.68);
  --glass-border:  rgba(255, 255, 255, 0.5);
  --glass-shine:   rgba(255, 255, 255, 0.78);
  --surface-1:     #f9fafb;
  --surface-2:     #f3f4f6;
  --surface-3:     #e5e7eb;
  --border-line:   rgba(17, 24, 39, 0.08);
  --white:         #111827;
  --muted:         rgba(17, 24, 39, 0.70);
  --accent:        #8b5cf6;
  --accent-dim:    rgba(139, 92, 246, 0.1);
  --ease:          cubic-bezier(0.16, 1, 0.3, 1);

  --font:          'Outfit', -apple-system, sans-serif;
  --max-w:         1100px;
  --radius:        16px;
  --radius-lg:     24px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--white);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  letter-spacing: -0.02em;
}

h1, h2, h3 {
  letter-spacing: -0.05em;
}

/* =========================================
   BACKGROUND BLOBS
   ========================================= */

.bg-scene {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  will-change: transform;
}

.blob-1 {
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.38) 0%, transparent 70%);
  top: -180px;
  left: -120px;
  animation: drift-1 22s ease-in-out infinite;
}

.blob-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(167, 139, 250, 0.28) 0%, transparent 70%);
  top: 35%;
  right: -140px;
  animation: drift-2 28s ease-in-out infinite;
}

.blob-3 {
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.22) 0%, transparent 70%);
  bottom: 5%;
  left: 25%;
  animation: drift-3 20s ease-in-out infinite;
}

@keyframes drift-1 {
  0%, 100% { transform: translate(0px,   0px)   scale(1);    }
  33%       { transform: translate(80px,  70px)  scale(1.08); }
  66%       { transform: translate(-30px, 110px) scale(0.94); }
}

@keyframes drift-2 {
  0%, 100% { transform: translate(0px,    0px)   scale(1);    }
  40%       { transform: translate(-90px, -60px) scale(1.12); }
  75%       { transform: translate(-40px,  60px) scale(0.92); }
}

@keyframes drift-3 {
  0%, 100% { transform: translate(0px,   0px)   scale(1);    }
  30%       { transform: translate(70px,  -80px) scale(1.06); }
  65%       { transform: translate(-50px,  50px) scale(0.96); }
}

/* =========================================
   UTILS
   ========================================= */

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
}

.section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.section-label.center { text-align: center; }

.section-title {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  color: var(--white);
}

.section-title.center { text-align: center; }

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

.divider {
  width: 48px;
  height: 2px;
  background: var(--white);
  margin: 32px 0;
}

/* =========================================
   BUTTONS
   ========================================= */

.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 10px;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(139, 92, 246, 0.35);
}

.btn-primary:hover {
  background: #7c3aed;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(139, 92, 246, 0.45);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.45);
  color: var(--white);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow:
    inset 0 1px 0 var(--glass-shine),
    0 2px 8px rgba(0, 0, 0, 0.05);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.65);
  border-color: rgba(255, 255, 255, 0.72);
  transform: translateY(-1px);
}

.btn-large {
  padding: 18px 44px;
  font-size: 16px;
  border-radius: 12px;
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(17, 24, 39, 0.2);
}

.btn-outline:hover {
  background: rgba(17, 24, 39, 0.05);
  border-color: rgba(17, 24, 39, 0.35);
  transform: translateY(-1px);
}

.btn-whatsapp {
  background: rgba(37, 211, 102, 0.1);
  color: #16a34a;
  border: 1px solid rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:hover {
  background: rgba(37, 211, 102, 0.18);
  border-color: rgba(37, 211, 102, 0.55);
  transform: translateY(-1px);
}

/* =========================================
   NAV
   ========================================= */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(17, 24, 39, 0.06);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 48px;
  list-style: none;
}

.nav-link {
  font-family: var(--font);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

.nav-link:hover { color: var(--white); }

.nav.scrolled {
  background: rgba(255, 255, 255, 0.95);
  border-bottom-color: rgba(17, 24, 39, 0.08);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 32px;
  height: 24px;
  position: relative;
  z-index: 999;
}

.mobile-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--white);
  position: absolute;
  left: 0;
  transition: all 0.3s var(--ease);
}

.mobile-toggle span:nth-child(1) { top: 0; }
.mobile-toggle span:nth-child(2) { top: 11px; }
.mobile-toggle span:nth-child(3) { bottom: 0; }

.nav.nav-open .mobile-toggle span:nth-child(1) { transform: translateY(11px) rotate(45deg); }
.nav.nav-open .mobile-toggle span:nth-child(2) { opacity: 0; }
.nav.nav-open .mobile-toggle span:nth-child(3) { transform: translateY(-11px) rotate(-45deg); }

/* =========================================
   HERO
   ========================================= */

.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 56px 40px 48px;   /* top = nav height */
  background: #ffffff;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('hero-bg.jpg') center / cover no-repeat;
  opacity: 0.12;
  z-index: 0;
  pointer-events: none;
}

/* Floating glass manifesto card */
.hero-card {
  position: relative;
  z-index: 1;
  max-width: 1000px;
  width: 100%;
  backdrop-filter: blur(60px);
  -webkit-backdrop-filter: blur(60px);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: var(--radius-lg);
  padding: 60px 40px;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    0 8px 32px rgba(139, 92, 246, 0.10),
    0 24px 64px rgba(0, 0, 0, 0.07);
}

/* Masthead wrapper — positions subtitle relative to the wordmark */
.masthead {
  position: relative;
  width: 100%;
  z-index: 1;
  padding-bottom: 1.5vw;
  margin-bottom: 20px;
}

.hero-wordmark {
  width: 100%;
  text-align: center;
  line-height: 0.9;
  margin-bottom: 0;
}

.wm-block {
  display: inline-flex;
  flex-direction: column;
}

.wm-wrapper {
  font-size: clamp(3rem, 8vw, 9.5rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  text-transform: lowercase;
}

.wm-danny   { color: #111827; }

.wm-maddock {
  color: #8b5cf6;
}

.hero-subtitle {
  display: flex;
  justify-content: space-between;
  font-size: clamp(0.5rem, 1.8vw, 0.72rem);
  letter-spacing: clamp(0.05em, 1vw, 0.4em);
  color: var(--muted);
  text-transform: uppercase;
  margin-top: 12px;
}

.hero-subtitle span {
  white-space: nowrap;
}

/* Side-by-side bio */
.bio-grid {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 60px;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  padding-top: 24px;
}

/* Squircle avatar — 240 × 240, border-radius: 24% on img, overflow: visible */
.bio-photo {
  width: 240px;
  height: 240px;
  flex-shrink: 0;
  border-radius: 24%;
  overflow: visible;
  display: flex;
  justify-content: center;
  align-items: center;
}

.bio-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 5%;
  border-radius: 24%;
  display: block;
  transform: scale(0.98);
}

.bio-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
}

.bio-cta-row {
  display: flex;
  flex-direction: row;
  gap: 12px;
  flex-wrap: wrap;
}

.bio-text p {
  font-family: var(--font);
  font-size: 1.1rem;
  font-weight: 400;
  line-height: 1.7;
  color: var(--white);
  max-width: 420px;
}

.hero-card-logo {
  width: 64px;
  height: 64px;
  border-radius: 10px;
  object-fit: contain;
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
}

.hero-identity {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  margin-bottom: 4px;
}

.hero-name {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--white);
}

.hero-role {
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--muted);
  text-transform: uppercase;
}

.hero-card-divider {
  width: 40px;
  height: 1px;
  background: rgba(139, 92, 246, 0.35);
  margin: 28px auto;
}

.eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(139, 92, 246, 0.08);
  border: 1px solid rgba(139, 92, 246, 0.25);
  padding: 7px 16px;
  border-radius: 100px;
  margin-bottom: 40px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hero-title {
  font-size: clamp(1.8rem, 3.2vw, 2.8rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  text-align: center;
  color: #111827;
  margin-bottom: 0;
}

.hero-title .accent {
  color: var(--accent);
}

.hero-cta {
  margin-top: 48px;
}

.br-desktop { display: block; }

/* =========================================
   STORY — Workbench to Workflow
   ========================================= */

.story {
  padding: 80px 0 240px;
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border-line);
}

.story::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('workbench.jpg') center / cover no-repeat;
  opacity: 0.30;
  z-index: 0;
  pointer-events: none;
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 100px;
  align-items: start;
}

.story-left {
  position: sticky;
  top: 96px;
}

.story-eyebrow {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 32px;
  line-height: 1;
}

.story-quote {
  font-size: 1.15rem;
  font-weight: 700;
  font-style: italic;
  color: var(--white);
  line-height: 1.4;
  margin-bottom: 10px;
}

.story-quote-attr {
  font-size: 13px;
  color: var(--muted);
}

.story-right {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.story-block {
  display: flex;
  gap: 28px;
  padding: 32px 36px;
  background: transparent;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: var(--radius-lg);
  box-shadow:
    inset 0 1px 0 var(--glass-shine),
    0 4px 6px -1px rgba(0, 0, 0, 0.05),
    0 20px 25px -5px rgba(0, 0, 0, 0.03);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.story-block:hover {
  transform: translateY(-4px);
  box-shadow:
    inset 0 1px 0 var(--glass-shine),
    0 8px 20px -4px rgba(0, 0, 0, 0.07),
    0 32px 48px -8px rgba(0, 0, 0, 0.04);
}

.story-number {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent);
  min-width: 28px;
  padding-top: 4px;
}

.story-block h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: -0.04em;
}

.story-block p {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.8;
}

/* =========================================
   PORTFOLIO — Featured Architectures
   ========================================= */

.portfolio {
  padding: 240px 0;
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border-line);
  background-color: #ffffff;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.79), rgba(255, 255, 255, 0.79)),
    url('blueprint-grid.jpg');
  background-size: auto, cover;
  background-position: center, center;
  background-repeat: no-repeat, no-repeat;
}

.portfolio h2 {
  margin-bottom: 24px;
}

.portfolio-intro {
  text-align: center;
  color: var(--muted);
  font-size: 1rem;
  margin-top: 20px;
  margin-bottom: 72px;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.portfolio-grid .story-block {
  flex-direction: column;
  background: #ffffff;
  border: 1px solid rgba(17, 24, 39, 0.07);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 2px 8px rgba(0, 0, 0, 0.05),
    0 12px 32px rgba(0, 0, 0, 0.06);
}

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

.portfolio-cta {
  text-align: center;
  margin-top: 56px;
}

.card-doc-link {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #374151;
  text-decoration: none;
  transition: opacity 0.2s var(--ease);
}

.card-doc-link:hover {
  opacity: 0.6;
}

.portfolio-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.portfolio-card-header h3 {
  margin-bottom: 0;
}

.portfolio-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  flex-shrink: 0;
  align-items: center;
}

.portfolio-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid rgba(139, 92, 246, 0.2);
  padding: 4px 12px;
  border-radius: 100px;
  white-space: nowrap;
}

/* =========================================
   TECH STACK — Marquee
   ========================================= */

.stack {
  padding: 120px 0;
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border-line);
}

.stack .section-title {
  margin-bottom: 48px;
}

.stack-intro {
  text-align: center;
  color: var(--muted);
  font-size: 1rem;
  margin-top: 20px;
  margin-bottom: 72px;
}

.stack-grid {
  margin-top: 60px;
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.stack-row-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.stack-row-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

.stack-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 52px;
  flex-wrap: wrap;
}

.stack-row img {
  height: 38px;
  width: auto;
  filter: grayscale(100%) opacity(45%);
  transition: filter 0.3s var(--ease), transform 0.3s var(--ease);
}

.stack-row img:hover {
  filter: grayscale(0%) opacity(100%);
  transform: translateY(-3px);
}

/* =========================================
   AUDIENCE — Vertical Specification Layout
   ========================================= */

.audience {
  padding: 240px 0;
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border-line);
  overflow: hidden;
}

/* Watermark layer — absolute container, clipped to section bounds */
.watermark-layer {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

/* Base watermark — absolutely positioned, rotated from left edge */
.service-watermark {
  position: absolute;
  font-family: 'Courier New', monospace;
  font-weight: 900;
  color: var(--white);
  opacity: 0.03;
  white-space: nowrap;
  text-transform: uppercase;
  transform: translate(-50%, -50%) rotate(-90deg);
  line-height: 1;
  user-select: none;
}

/* Large — left column */
.wm-1 {
  font-size: 14rem;
  top: 50%;
  left: 15%;
}

/* Medium-large — centre column */
.wm-2 {
  font-size: 11rem;
  top: 40%;
  left: 50%;
}

/* Medium — right column */
.wm-3 {
  font-size: 8rem;
  top: 60%;
  left: 85%;
}

/* Ensure spec content stacks above watermark */
.audience .container {
  position: relative;
  z-index: 1;
}

.audience h2 {
  margin-bottom: 0;
}

/* Vertical rail list — content close to the line */
.spec-list {
  margin-top: 80px;
  padding-left: 16px;
  border-left: 1px solid var(--border-line);
}

.spec-item {
  padding: 52px 0;
  border-bottom: 1px solid var(--border-line);
  position: relative;
  max-width: 680px;
}

.spec-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

/* Dot on the rail */
.spec-item::before {
  content: '';
  position: absolute;
  left: -21px; /* centres 8px dot on the 1px border at padding-left: 16px */
  top: 56px;
  width: 8px;
  height: 8px;
  background: var(--bg);
  border: 2px solid var(--accent);
  border-radius: 50%;
}

.spec-title {
  font-size: 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.04em;
  color: var(--white);
  margin-bottom: 20px;
  line-height: 1.1;
}

.spec-slash {
  color: var(--accent);
  font-size: 1.9rem;
  font-weight: 900;
  line-height: 0.9;
  vertical-align: middle;
  margin-right: 6px;
  letter-spacing: -0.03em;
}

.spec-desc {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.85;
  margin-bottom: 28px;
}

.spec-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.spec-features li {
  font-size: 0.84rem;
  font-weight: 500;
  font-family: 'Courier New', Courier, monospace;
  color: rgba(17, 24, 39, 0.55);
  padding-left: 24px;
  position: relative;
  letter-spacing: 0.02em;
}

.spec-features li::before {
  content: '//';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

/* =========================================
   CONTACT — Trust Cluster
   ========================================= */

.contact {
  padding: 140px 0;
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border-line);
  background: #f9fafb;
}

.contact h2 {
  margin-bottom: 0;
}

/* Three-column trust panel */
.trust-cluster {
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
  background: var(--glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow:
    inset 0 1px 0 var(--glass-shine),
    0 4px 24px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.trust-col {
  flex: 1;
  min-width: 0;
  padding: 52px 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0;
}

.trust-vline {
  width: 1px;
  background: var(--border-line);
  align-self: stretch;
}

.trust-col-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 28px;
}

/* CTA stack in first column */
.contact-cta-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.contact-cta-stack .btn {
  width: 100%;
  text-align: center;
  box-sizing: border-box;
}

.contact-email {
  display: block;
  margin-top: 16px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color 0.2s var(--ease);
}

.contact-email:hover {
  color: var(--white);
}

/* Shields grid — 2×2 for four platform logos */
.shields-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  width: 100%;
}

/* Legacy freelancer-grid kept for backwards compat (unused) */
.freelancer-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  width: 100%;
}

.shield-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 20px 12px;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid var(--border-line);
  border-radius: 14px;
  filter: grayscale(100%);
  opacity: 0.55;
  transition: filter 0.3s var(--ease), opacity 0.3s var(--ease), background 0.3s var(--ease);
}

.shield-link:hover {
  filter: grayscale(0%);
  opacity: 1;
  background: rgba(255, 255, 255, 0.8);
}

.shield-link img {
  height: auto;
  max-height: 26px;
  width: auto;
  max-width: 80px;
  display: block;
  object-fit: contain;
}

.chamber-link img {
  height: 120px;
  max-height: none;
  max-width: none;
  width: auto;
}

.shield-link span {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

/* trust-col-wide: kept for backwards compat, now equal width */
.trust-col-wide {
  flex: 1;
}

/* chamber styles now handled by .shield-link */

/* Chamber column — single centered link, wider padding */
.chamber-link {
  width: 100%;
  padding: 32px 24px;
  justify-content: center;
}

/* =========================================
   AIRTABLE MODAL
   ========================================= */

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(17, 24, 39, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
}

.modal-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.modal-container {
  position: relative;
  width: 100%;
  max-width: 720px;
  height: auto;
  background: #ffffff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.15),
    0 40px 80px rgba(0, 0, 0, 0.12);
  transform: translateY(20px);
  transition: transform 0.3s var(--ease);
}

.modal-overlay.is-open .modal-container {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 10;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border-line);
  background: rgba(255, 255, 255, 0.92);
  color: var(--white);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}

.modal-close:hover {
  background: #ffffff;
  transform: scale(1.1);
}

.modal-iframe {
  width: 100%;
  display: block;
}

/* =========================================
   FOOTER
   ========================================= */

.footer {
  border-top: 1px solid var(--border-line);
  padding: 32px 0;
  position: relative;
  z-index: 1;
}

.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-copy {
  font-size: 13px;
  color: var(--muted);
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-legal-link {
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

.footer-legal-link:hover {
  color: var(--white);
}

.footer-brand-logo {
  height: 40px;
  width: auto;
  display: block;
  overflow: visible;
  object-fit: contain;
}

/* =========================================
   HERO LOGO BOX
   ========================================= */

.hero-logo-box {
  position: absolute;
  top: calc(68px + 28px);
  left: 32px;
  width: 120px;
  height: 120px;
  background: #000000;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: box-shadow 0.4s var(--ease), transform 0.4s var(--ease);
  box-shadow:
    0 4px 6px -1px rgba(0, 0, 0, 0.12),
    0 20px 40px rgba(0, 0, 0, 0.14);
}

.hero-logo-box.verified {
  box-shadow:
    0 0 0 2px rgba(139, 92, 246, 0.55),
    0 0 28px rgba(139, 92, 246, 0.35),
    0 20px 40px rgba(0, 0, 0, 0.14);
  transform: scale(1.05);
}

.hlb-fp,
.hlb-logo {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s var(--ease);
}

.hlb-fp    { opacity: 1; }
.hlb-logo  { opacity: 0; }

.hlb-fp-svg {
  width: 80%;
  height: 80%;
}

.hlb-logo img {
  width: 80%;
  height: 80%;
  object-fit: contain;
  font-size: 11px;
  color: #8b5cf6;
  text-align: center;
}

/* =========================================
   RESPONSIVE
   ========================================= */

@media (max-width: 768px) {
  .br-desktop { display: none; }
  .nav-inner .btn { display: none; }
  .nav-inner { justify-content: flex-end; padding-right: 24px; }
  .mobile-toggle { display: block; }
  .nav-links {
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s var(--ease);
    z-index: 998;
    margin: 0;
  }
  .nav.nav-open .nav-links {
    opacity: 1;
    pointer-events: auto;
  }
  .nav-links .nav-link {
    font-size: 2rem;
    color: var(--white);
  }
  .nav.nav-open {
    bottom: 0;
    background: #ffffff;
  }

  .hero {
    padding: 56px 20px 80px;
  }

  .bio-grid {
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }

  .bio-text {
    align-items: center;
    text-align: center;
  }

  .bio-cta-row {
    justify-content: center;
  }

  .story-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .story-left { position: static; }

  .spec-list {
    padding-left: 24px;
  }

  .spec-item {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 40px 0;
  }

  .spec-item::before {
    left: -29px;
  }

  .stack-row {
    gap: 28px;
  }

  .stack-row img {
    height: 28px;
  }

  .trust-cluster {
    flex-direction: column;
  }

  .trust-vline {
    width: 100%;
    height: 1px;
    align-self: auto;
  }

  .trust-col {
    padding: 36px 28px;
  }

  .shields-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .trust-col-wide {
    flex: 1;
  }

  .story,
  .portfolio,
  .stack,
  .audience,
  .contact {
    padding: 120px 0;
  }

  .footer-row {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .footer-legal {
    justify-content: center;
  }

  .chamber-link,
  .shields-grid .shield-link {
    filter: grayscale(0%);
    opacity: 1;
  }
}

/* =========================================
   REDUCED MOTION
   ========================================= */

@media (prefers-reduced-motion: reduce) {
  .blob { animation: none !important; }
}
