/* ═══════════════════════════════════════════════════════
   DARKSPEDE — pages.css
   Shared page-level components. Requires main.css.
   Fonts: Syne / IBM Plex Mono / Inter (from main.css)
   Accent: var(--lime) only — no blue.
═══════════════════════════════════════════════════════ */

/* ── SCROLL PROGRESS ── */
#progress {
  position: fixed; top: 0; left: 0; right: 0; height: 2px;
  background: var(--lime); transform-origin: left; transform: scaleX(0);
  z-index: 9995; pointer-events: none;
  box-shadow: 0 0 8px var(--lime-25);
}

/* ── PAGE HERO ── */
.pg-hero {
  padding-top: var(--nav-h); min-height: 60vh;
  display: flex; align-items: flex-end;
  position: relative; overflow: hidden; background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.pg-hero--tall { min-height: 75vh; }
.pg-hero-grid {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(rgba(94,144,227,.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(94,144,227,.1) 1px, transparent 1px);
  background-size: 80px 80px;
}
.pg-hero-grid::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, var(--bg) 0%, transparent 60%);
}
.pg-hero-inner {
  position: relative; z-index: 2; padding: 64px 0 60px;
  width: 100%; display: flex; align-items: flex-end;
  justify-content: space-between; gap: 48px; flex-wrap: wrap;
}
.pg-hero-inner > div:first-child { min-width: 0; }
.pg-hero-tag {
  font-family: var(--font-highlight);
  font-size: 14px; letter-spacing: 2px; text-transform: uppercase;
  font-weight: 600;
  color: var(--lime-bright); display: block; margin-bottom: 20px;
  text-shadow: 0 0 10px rgba(143,183,255,.2);
  opacity: 0; animation: fadeUp .6s .2s forwards;
}
.pg-hero-h1 {
  font-family: 'Syne', sans-serif; font-weight: 900;
  font-size: clamp(62px,9vw,144px); line-height: .86; letter-spacing: -3px; color: var(--white);
  opacity: 0; animation: fadeUp .85s .38s forwards;
}
.pg-hero-sub {
  font-size: 17px; color: var(--dim); max-width: 520px; line-height: 1.75;
  opacity: 0; animation: fadeUp .7s .55s forwards;
}
.pg-hero-aside {
  border-left: 1px solid var(--border); padding-left: 36px; padding-bottom: 8px;
  opacity: 0; animation: fadeIn .8s .7s forwards; flex-shrink: 0; min-width: 260px;
}
.pg-hero-aside p { font-size: 16px; color: var(--dim); line-height: 1.8; margin-bottom: 24px; max-width: 300px; }
.pg-hero-stat { margin-bottom: 20px; }
.pg-hero-stat-num {
  font-family: 'Syne', sans-serif; font-weight: 900;
  font-size: 35px; color: var(--lime); letter-spacing: -1px; line-height: 1; display: block;
}
.pg-hero-stat-lbl {
  font-family: var(--font-subtitle); font-size: 13px; letter-spacing: 1.6px;
  text-transform: uppercase; color: var(--dim); display: block; margin-top: 3px;
}
.pg-hero-stats {
  display: flex; flex-wrap: wrap; gap: 48px; padding-bottom: 8px;
  opacity: 0; animation: fadeIn .8s .7s forwards;
}
.pg-hero-stats > div { min-width: 0; }
.pg-hero-stats-num {
  font-family: var(--font-highlight); font-weight: 900;
  font-size: clamp(44px, 4.6vw, 60px);
  color: var(--lime-bright);
  letter-spacing: -0.4px;
  display: block; line-height: .96;
  text-shadow: 0 1px 0 rgba(255,255,255,.2), 0 8px 20px rgba(94,144,227,.28);
}
.pg-hero-stats-lbl {
  font-family: var(--font-subtitle);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--dim);
  display: block;
  margin-top: 8px;
}

/* Centred hero variant (blog, contact) */
.pg-hero--centered { align-items: center; min-height: 55vh; }
.pg-hero--centered .pg-hero-grid {
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 30%, transparent 100%);
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 30%, transparent 100%);
}
.pg-hero--centered .pg-hero-grid::after { display: none; }
.pg-hero--centered .pg-hero-inner {
  flex-direction: column; align-items: center;
  text-align: center; padding-top: clamp(80px,12vw,140px); padding-bottom: 72px;
}
.pg-hero--centered .pg-hero-sub { margin: 0 auto; }

/* ── FILTER STRIP ── */
.filter-section {
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  background: var(--bg-1); overflow-x: auto; -webkit-overflow-scrolling: touch;
  overflow-y: hidden;
  scrollbar-width: none;
  padding-left: env(safe-area-inset-left, 0px);
  padding-right: env(safe-area-inset-right, 0px);
}
.filter-section::-webkit-scrollbar { display: none; }
.filter-bar { display: flex; min-width: max-content; }
.filter-tab {
  font-family: var(--font-subtitle);
  font-size: 16px; letter-spacing: 1.2px; text-transform: uppercase; font-weight: 700;
  padding: 18px 30px; color: rgba(237,237,237,.82); background: transparent; border: none;
  border-right: 1px solid var(--border); transition: color .2s, background .2s;
  position: relative; white-space: nowrap; cursor: none;
  text-shadow: 0 0 8px rgba(94,144,227,.12);
}
.filter-tab::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 2px; background: var(--lime);
  transform: scaleX(0); transform-origin: left; transition: transform .3s;
}
.filter-tab:hover { color: rgba(245,249,255,.98); }
.filter-tab.active { color: rgba(168, 205, 255, .98); }
.filter-tab.active::after { transform: scaleX(1); }

/* ── PROJECT GRID ── */
#work { padding: clamp(60px,8vw,100px) 0 clamp(80px,10vw,130px); }
.proj-grid {
  display: grid; grid-template-columns: repeat(2,1fr);
  gap: 1px; background: var(--border); border: 1px solid var(--border);
}
.proj-card {
  display: block; position: relative; overflow: hidden;
  height: clamp(300px,40vw,480px); text-decoration: none; background: var(--bg-1);
}
.proj-card.featured-layout { grid-column: span 2; height: clamp(340px,42vw,520px); }
.proj-card.fill-row { grid-column: 1 / -1; }
.proj-card-bg {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  transition: transform .7s ease;
}
.proj-card:hover .proj-card-bg { transform: scale(1.06); }
.proj-card-ov {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(6,6,6,.95) 0%, rgba(6,6,6,.3) 50%, rgba(6,6,6,.1) 100%);
  transition: background .4s;
}
.proj-card:hover .proj-card-ov {
  background: linear-gradient(to top, rgba(6,6,6,.98) 0%, rgba(6,6,6,.5) 60%, rgba(6,6,6,.2) 100%);
}
.proj-card-badge {
  position: absolute; top: 20px; left: 20px;
  font-family: var(--font-highlight); font-size: 12px; letter-spacing: 1.6px; text-transform: uppercase;
  font-weight: 600;
  color: var(--lime-bright); border: 1px solid var(--border-lime); padding: 4px 10px; background: rgba(6,6,6,.7);
  text-shadow: 0 0 8px rgba(143,183,255,.18);
}
.proj-card-featured-badge {
  position: absolute; top: 20px; right: 20px;
  font-family: 'IBM Plex Mono', monospace; font-size: 12px; letter-spacing: 2px; text-transform: uppercase;
  color: #f1c40f; border: 1px solid rgba(241,196,15,.4); padding: 4px 10px; background: rgba(6,6,6,.7);
}
.proj-card-body { position: absolute; bottom: 0; left: 0; right: 0; padding: 28px 32px 32px; }
.proj-card-client {
  font-family: 'IBM Plex Mono', monospace; font-size: 12px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--dim); margin-bottom: 8px; display: block;
}
.proj-card-title {
  font-family: 'Syne', sans-serif; font-weight: 900;
  font-size: clamp(26px,3vw,44px); letter-spacing: -1px; color: var(--white); margin-bottom: 8px; line-height: 1;
}
.proj-card-desc { font-size: 15px; color: rgba(237,237,237,.60); line-height: 1.6; max-width: 380px; }
.proj-card-cta {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 14px;
  font-family: 'IBM Plex Mono', monospace; font-size: 12px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--lime); opacity: 0; transform: translateY(8px); transition: opacity .3s, transform .3s;
}
.proj-card:hover .proj-card-cta { opacity: 1; transform: translateY(0); }
.proj-card.hidden { display: none; }

/* ── POSTS GRID ── */
#posts { padding: clamp(60px,8vw,96px) 0 clamp(80px,10vw,130px); }
.posts-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 28px; }
.post-card {
  display: block; position: relative; text-decoration: none;
  background: var(--bg-1); border: 1px solid var(--border);
  overflow: hidden; transition: border-color .3s;
}
.post-card:hover { border-color: var(--border-lime); }
.post-card-img { height: 220px; position: relative; overflow: hidden; background: var(--bg-2); }
.post-card-img-inner {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  transition: transform .7s ease;
}
.post-card:hover .post-card-img-inner { transform: scale(1.06); }
.post-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(6,6,6,.92) 0%, rgba(6,6,6,.25) 55%, rgba(6,6,6,.08) 100%);
  transition: background .4s;
}
.post-card:hover .post-card-overlay {
  background: linear-gradient(to top, rgba(6,6,6,.97) 0%, rgba(6,6,6,.45) 60%, rgba(6,6,6,.15) 100%);
}
.post-card-badge {
  position: absolute; top: 16px; left: 16px; z-index: 2;
  font-family: var(--font-highlight); font-size: 12px; letter-spacing: 1.6px; text-transform: uppercase;
  font-weight: 600;
  color: var(--lime-bright); border: 1px solid var(--border-lime); padding: 4px 10px; background: rgba(6,6,6,.75);
  text-shadow: 0 0 8px rgba(143,183,255,.18);
}
.post-card-placeholder {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; opacity: .18;
}
.post-card-body { padding: 24px 24px 20px; }
.post-card-title {
  font-family: 'Syne', sans-serif; font-weight: 700;
  font-size: clamp(20px,2vw,28px); line-height: 1.15; letter-spacing: -.4px; color: var(--white); margin-bottom: 10px;
}
.post-card-excerpt {
  font-size: 15px; line-height: 1.65; color: var(--dim); margin-bottom: 16px;
  display: -webkit-box; line-clamp: 2; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.post-card-meta {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 14px; border-top: 1px solid var(--border);
  font-family: 'IBM Plex Mono', monospace; font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--dim);
}
.post-card-cta {
  font-family: 'IBM Plex Mono', monospace; font-size: 12px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--lime); opacity: 0; transform: translateY(6px);
  transition: opacity .3s, transform .3s; display: inline-flex; align-items: center; gap: 5px;
}
.post-card:hover .post-card-cta { opacity: 1; transform: translateY(0); }
.empty-state {
  grid-column: 1 / -1; text-align: center; padding: 80px 0;
  font-family: 'IBM Plex Mono', monospace; font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--muted);
}
.loading-state {
  grid-column: 1 / -1; text-align: center; padding: 80px 0;
  font-family: 'IBM Plex Mono', monospace; font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); opacity: .6;
}

/* ── CAPABILITIES TICKER ── */
.cap-ticker {
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding: 13px 0; overflow: hidden; background: var(--bg-1);
}
.cap-ticker-inner {
  display: flex; gap: 48px; white-space: nowrap; width: max-content;
  animation: tickerScroll 28s linear infinite;
}
.cap-ticker-inner span {
  font-family: 'IBM Plex Mono', monospace; font-size: 15px; font-weight: 700; letter-spacing: 1.8px; text-transform: uppercase; color: var(--white);
}
.cap-ticker-inner .t-dot { color: var(--lime); }
@keyframes tickerScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── SERVICE BLOCKS ── */
.svc-block { padding: clamp(80px,10vw,130px) 0; border-bottom: 1px solid var(--border); }
.svc-block:nth-child(even) { background: var(--surface-1); }
.svc-block:nth-child(odd) { background: var(--surface-0); }
#bim {
  z-index: 3;
}
#bim .wrap,
#bim .svc-layout,
#bim .svc-sticky,
#bim .cap-list,
#bim .cap-item {
  position: relative;
  z-index: 4;
}
.svc-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 96px; align-items: start; }
.svc-layout.flip { direction: rtl; }
.svc-layout.flip > * { direction: ltr; }
.svc-sticky { position: sticky; top: 100px; }
.svc-num {
  font-family: 'IBM Plex Mono', monospace; font-size: 12px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--lime); margin-bottom: 16px; display: block;
}
.svc-title {
  font-family: 'Syne', sans-serif; font-weight: 900;
  font-size: clamp(44px,5vw,80px); line-height: .9; letter-spacing: -2px; margin-bottom: 20px;
}
.svc-intro { font-size: 16px; color: var(--dim); line-height: 1.8; margin-bottom: 28px; }
.svc-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'IBM Plex Mono', monospace; font-size: 12px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--lime); text-decoration: none; transition: gap .2s; cursor: none;
}
.svc-link:hover { gap: 14px; }
.svc-tech { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--border); }
.svc-tech-lbl {
  font-family: 'IBM Plex Mono', monospace; font-size: 12px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--dim); margin-bottom: 12px; display: block;
}
.svc-tags { display: flex; flex-wrap: wrap; gap: 7px; }
.svc-tag {
  font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase;
  padding: 4px 10px; border: 1px solid var(--border); color: rgba(237,237,237,.42); transition: border-color .2s, color .2s;
}
.svc-tag:hover { border-color: var(--border-lime); color: var(--lime); }
.cap-list { list-style: none; }
.cap-item {
  display: grid; grid-template-columns: 28px 1fr; gap: 16px;
  padding: 24px 0; border-bottom: 1px solid var(--border); align-items: flex-start; transition: padding-left .25s;
}
.cap-item:first-child { border-top: 1px solid var(--border); }
.cap-item:hover { padding-left: 8px; }
.cap-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--lime);
  margin-top: 10px; flex-shrink: 0; transition: transform .25s;
}
.cap-item:hover .cap-dot { transform: scale(1.5); }
.cap-title { font-weight: 800; font-size: 21px; letter-spacing: -.2px; margin-bottom: 8px; color: rgba(245, 249, 255, 0.98); }
.cap-desc { font-size: 15px; color: var(--dim); line-height: 1.7; }

/* ── PROCESS TRACK ── */
.process-section { padding: clamp(80px,10vw,130px) 0; z-index: 3; }
.process-section { background: var(--surface-2); }
.process-head { margin-bottom: 56px; }
.process-track {
  position: relative;
  z-index: 4;
  display: grid; grid-template-columns: repeat(2,1fr);
  gap: 1px; background: transparent; border: 1px solid transparent;
}
.process-step {
  background: var(--bg);
  padding: 38px 32px 30px;
  min-height: 430px;
  position: relative;
  z-index: 4;
  overflow: hidden;
  transition: background .3s;
}
.process-step:hover { background: var(--bg); }
.process-step::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 0; height: 2px; background: var(--lime); transition: width .4s ease;
}
.process-step:hover::after { width: 100%; }
.process-step-num {
  font-family: 'IBM Plex Mono', monospace; font-size: 12px; letter-spacing: 3px;
  color: var(--lime); margin-bottom: 20px; display: block;
}
.process-step-icon {
  position: absolute;
  top: 12px;
  right: 8px;
  z-index: 0;
  width: min(78%, 420px);
  max-width: 420px;
  height: auto;
  object-fit: contain;
  display: block;
  opacity: .6;
  filter: saturate(.98) brightness(1) contrast(1);
  transform: scale(1.04);
  mask-image: linear-gradient(to bottom left, #000 0%, #000 35%, rgba(0,0,0,.68) 50%, rgba(0,0,0,.28) 68%, transparent 82%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom left, #000 0%, #000 35%, rgba(0,0,0,.68) 50%, rgba(0,0,0,.28) 68%, transparent 82%, transparent 100%);
}
.process-step-copy {
  position: absolute;
  left: 28px;
  bottom: 34px;
  z-index: 2;
  max-width: min(76%, 380px);
  min-height: 160px;
  padding: 0;
  text-align: left;
  background: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.process-step-title {
  font-family: var(--font-unified);
  font-weight: 800;
  font-size: clamp(16px,1.5vw,20px);
  letter-spacing: -.2px;
  color: var(--lime);
  margin-bottom: 8px;
  min-height: 2.35em;
  display: flex;
  align-items: flex-end;
  text-shadow: 0 2px 18px rgba(0,0,0,.88);
}
.process-step-desc {
  font-size: 16px;
  color: #f2f2f2;
  line-height: 1.75;
  text-align: justify;
  text-align-last: left;
  text-shadow: 0 2px 16px rgba(0,0,0,.9);
}

/* ── ABOUT PAGE COMPONENTS ── */
.quote-section {
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding: clamp(60px,8vw,100px) 0; background: var(--surface-1);
}
.quote-inner { display: grid; grid-template-columns: 1fr 2fr; gap: 80px; align-items: center; }
.quote-label {
  font-family: 'IBM Plex Mono', monospace; font-size: 12px; letter-spacing: 3px; text-transform: uppercase; color: var(--dim);
}
.quote-text {
  font-family: 'Syne', sans-serif; font-weight: 700;
  font-size: clamp(26px,3.5vw,48px); line-height: 1.18; letter-spacing: -.5px; color: var(--white);
  border-left: 2px solid var(--lime); padding-left: 36px;
}
.quote-text em { font-style: normal; color: var(--lime); }
.stats-strip { padding: clamp(48px,6vw,80px) 0; border-bottom: 1px solid var(--border); }
.stats-inner { display: grid; grid-template-columns: 1fr 1px 1fr 1px 1fr 1px 1fr; align-items: center; }
.ss-div { background: var(--border); height: 44px; }
.ss-stat { text-align: center; padding: 12px 24px; }
.ss-num {
  font-family: 'Syne', sans-serif; font-weight: 900;
  font-size: clamp(40px,4.5vw,64px); color: var(--lime); letter-spacing: -2px; display: block; line-height: 1;
}
.ss-lbl {
  font-family: 'IBM Plex Mono', monospace; font-size: 12px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--dim); display: block; margin-top: 8px;
}
.domains-section { padding: clamp(80px,10vw,130px) 0; }
.domains-head { margin-bottom: 52px; }
.domains-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); }
.domain-card { background: var(--bg); padding: 48px 36px 52px; transition: background .3s; position: relative; overflow: hidden; }
.domain-card:hover { background: var(--bg-1); }
.domain-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 2px; background: var(--lime); transform: scaleX(0); transform-origin: left; transition: transform .4s ease;
}
.domain-card:hover::before { transform: scaleX(1); }
.domain-num {
  font-family: 'IBM Plex Mono', monospace; font-size: 12px; letter-spacing: 3px; color: var(--lime); margin-bottom: 24px; display: block;
}
.domain-title {
  font-family: 'Syne', sans-serif; font-weight: 800; font-size: clamp(20px,2vw,28px); letter-spacing: -.3px; margin-bottom: 14px;
}
.domain-desc { font-size: 16px; color: var(--dim); line-height: 1.72; margin-bottom: 24px; }
.domain-tags { display: flex; flex-wrap: wrap; gap: 7px; }
.domain-tag {
  font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase;
  padding: 4px 9px; border: 1px solid var(--border); color: rgba(237,237,237,.42); transition: border-color .2s, color .2s;
}
.domain-card:hover .domain-tag { border-color: var(--border-lime); color: var(--dim); }
.approach-section { padding: clamp(80px,10vw,130px) 0; background: var(--surface-1); border-top: 1px solid var(--border); }
.approach-head { margin-bottom: 56px; }
.approach-timeline { position: relative; }
.approach-timeline::before {
  content: ''; position: absolute; left: 20px; top: 0; bottom: 0; width: 1px; background: var(--border);
}
.approach-step {
  display: grid; grid-template-columns: 56px 1fr; gap: 36px;
  padding: 36px 0; border-bottom: 1px solid var(--border); transition: padding-left .25s;
}
.approach-step:first-child { border-top: 1px solid var(--border); }
.approach-step:hover { padding-left: 8px; }
.approach-marker {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--border); background: var(--bg-1);
  display: flex; align-items: center; justify-content: center;
  font-family: 'IBM Plex Mono', monospace; font-size: 12px; letter-spacing: 1px; color: var(--dim);
  flex-shrink: 0; position: relative; z-index: 1; transition: border-color .25s, color .25s, background .25s;
}
.approach-step:hover .approach-marker { border-color: var(--lime); color: var(--lime); background: var(--lime-8); }
.approach-title {
  font-family: 'Syne', sans-serif; font-weight: 800; font-size: clamp(20px,2vw,28px); letter-spacing: -.3px; margin-bottom: 10px;
}
.approach-desc { font-size: 16px; color: var(--dim); line-height: 1.72; max-width: 560px; }

/* ── CTA SECTION ── */
.cta-section { padding: clamp(80px,10vw,130px) 0; border-top: 1px solid var(--border); text-align: center; }
.cta-copy { font-size: 17px; color: var(--dim); max-width: 440px; margin: 14px auto 40px; line-height: 1.75; }

/* ── CONTACT FORM ── */
.contact-section { padding: 0 0 clamp(80px,10vw,140px); }

/* Open layout — no dark tray card */
.contact-section > .wrap {
  position: relative;
  z-index: 1;
  padding-top: clamp(28px, 4vw, 52px);
  padding-bottom: clamp(36px, 5vw, 68px);
  background: none;
  border: none;
  box-shadow: none;
}

.ct-intro-shell {
  border: 1px solid rgba(168, 198, 245, .14);
  background:
    linear-gradient(165deg, rgba(94, 144, 227, .035) 0%, transparent 52%),
    linear-gradient(180deg, rgba(255, 255, 255, .018), rgba(255, 255, 255, .004)),
    rgba(3, 4, 5, .94);
  box-shadow: 0 22px 72px rgba(0, 0, 0, .52), inset 0 1px 0 rgba(255, 255, 255, .04);
  padding: clamp(28px, 4vw, 44px);
  margin: 0 0 clamp(40px, 5vw, 64px);
  position: relative;
  overflow: hidden;
}
.ct-intro-shell::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--lime), rgba(94, 144, 227, .28), transparent);
  pointer-events: none;
}

/* Inside contact section: open intro block, no card */
.contact-section .ct-intro-shell {
  border: none;
  background: none;
  box-shadow: none;
}
.contact-section .ct-intro-shell .label {
  font-size: 14px;
  letter-spacing: 2.4px;
}

.ct-intro-shell .ct-header {
  padding: 0;
  margin: 0;
  border-bottom: none;
}
.ct-header {
  padding: 80px 0 60px; border-bottom: 1px solid var(--border); margin-bottom: 80px;
  display: flex; align-items: flex-end; justify-content: space-between;
}
.ct-header-right { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; padding-bottom: 6px; }
.ct-header-right p { font-size: 16px; color: var(--dim); line-height: 1.75; text-align: right; max-width: 360px; }
.ct-body { display: grid; grid-template-columns: 1fr 300px; gap: 80px; align-items: start; }
.brief-progress { display: flex; align-items: center; gap: 0; margin-bottom: 56px; }
.bp-step { display: flex; align-items: center; gap: 10px; }
.bp-num {
  width: 30px; height: 30px; border: 1px solid rgba(237,237,237,.15); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: 1px; color: var(--muted); transition: all .4s;
}
.bp-label {
  font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: 3px; text-transform: uppercase; color: rgba(237,237,237,.45); transition: color .4s;
}
.bp-line { flex: 1; height: 1px; background: var(--border); margin: 0 14px; position: relative; overflow: hidden; }
.bp-line::after {
  content: ''; position: absolute; left: -100%; top: 0; bottom: 0;
  width: 100%; background: var(--lime); transition: left .55s cubic-bezier(.4,0,.2,1);
}
.bp-step.active .bp-num { border-color: var(--lime); color: var(--lime); background: var(--lime-8); }
.bp-step.active .bp-label { color: var(--lime); }
.bp-step.done .bp-num { border-color: var(--border-lime); background: var(--lime-8); color: var(--lime); }
.bp-step.done .bp-label { color: var(--dim); }
.bp-line.filled::after { left: 0; }
.brief-step { display: none; }
.brief-step.active { display: block; animation: stepIn .38s ease forwards; }
.brief-step.exiting { animation: stepOut .3s ease forwards; }
@keyframes stepIn  { from { opacity: 0; transform: translateX(18px); } to { opacity: 1; transform: translateX(0); } }
@keyframes stepOut { from { opacity: 1; transform: translateX(0); } to { opacity: 0; transform: translateX(-18px); } }
@keyframes shake   { 0%,100% { transform: translateX(0); } 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }
.step-heading { display: flex; align-items: baseline; gap: 18px; margin-bottom: 40px; }
.step-n {
  font-family: 'Syne', sans-serif; font-weight: 900;
  font-size: clamp(58px,8vw,108px); line-height: 1; color: rgba(94,144,227,.22); letter-spacing: 2px; user-select: none;
}
.step-meta { display: flex; flex-direction: column; gap: 3px; }
.step-title { font-family: 'Syne', sans-serif; font-weight: 900; font-size: clamp(30px,3.5vw,44px); line-height: 1; color: var(--white); }
.step-sub {
  font-family: 'IBM Plex Mono', monospace; font-size: 12px; letter-spacing: 3px; text-transform: uppercase; color: var(--lime); opacity: .8;
}
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 28px; }
.fgrid.full { grid-template-columns: 1fr; }
.fg { display: flex; flex-direction: column; position: relative; }
.fg label {
  font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: 4px; text-transform: uppercase;
  color: rgba(132,176,236,.72); padding-bottom: 10px; transition: color .2s;
}
.fg:focus-within label { color: var(--lime); }
.fg input, .fg textarea, .fg select {
  background: transparent; border: none; border-bottom: 1px solid var(--border);
  color: var(--white); font-family: 'Inter', sans-serif; font-size: 17px; font-weight: 300;
  padding: 10px 0; outline: none; cursor: auto; width: 100%; transition: border-color .3s; border-radius: 0;
}
.fg select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='rgba(94,144,227,.6)' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 4px center;
  padding-right: 24px;
  cursor: pointer;
}
.fg select option {
  background: #0d0d0d;
  color: #ededed;
}
.fg input:focus, .fg textarea:focus, .fg select:focus { border-bottom-color: var(--border-lime); }
.fg input::placeholder, .fg textarea::placeholder { color: var(--muted); }
.fg select option[value=""] { color: var(--muted); }
.fg-bar {
  position: absolute; bottom: 0; left: 0; right: 0; height: 1px;
  background: var(--lime); transform: scaleX(0); transform-origin: left; transition: transform .4s cubic-bezier(.4,0,.2,1);
}
.fg:focus-within .fg-bar { transform: scaleX(1); }
.fg textarea { resize: none; height: 130px; line-height: 1.7; }
.char-row {
  display: flex; justify-content: flex-end; margin-top: 7px;
  font-family: 'IBM Plex Mono', monospace; font-size: 10px; letter-spacing: 2px; color: var(--muted); transition: color .3s;
}
.char-row.near { color: rgba(144,186,242,.8); }
.char-row.at { color: #e74c3c; }
.char-row.too-short { color: rgba(231,76,60,.55); }
.fg-error { color: #e74c3c; font-family: 'IBM Plex Mono', monospace; font-size: 12px; margin-top: 6px; display: block; }
.project-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 10px; }
.pcard { border: 1px solid var(--border); padding: 16px 18px; cursor: none; transition: border-color .22s, background .22s; position: relative; }
.pcard input[type="radio"] { display: none; }
.pcard:hover { border-color: var(--border-lime); }
.pcard.sel { border-color: var(--lime); background: var(--lime-8); }
.pcard-n {
  font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: 3px; text-transform: uppercase;
  color: rgba(132,176,236,.68); margin-bottom: 6px;
}
.pcard.sel .pcard-n { color: rgba(170,204,248,.86); }
.pcard-name { font-size: 15px; color: rgba(237,237,237,.5); line-height: 1.4; }
.pcard.sel .pcard-name { color: var(--white); }
.step-nav {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--border);
}
.btn-back {
  display: flex; align-items: center; gap: 9px; background: none; border: none; color: var(--muted);
  font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: 3px; text-transform: uppercase;
  cursor: none; transition: color .2s; padding: 0;
}
.btn-back:hover { color: var(--dim); }
.btn-next {
  display: flex; align-items: center; gap: 11px;
  background: var(--lime); color: var(--bg); border: 1px solid var(--lime);
  padding: 13px 28px; font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: 3px; text-transform: uppercase;
  cursor: none; transition: all .25s; font-weight: 600;
}
.btn-next:hover { background: transparent; color: var(--lime); }
.btn-next:hover svg, .btn-next svg { transition: transform .25s; }
.btn-next:hover svg { transform: translateX(4px); }
.preview-table { border: 1px solid var(--border); overflow: hidden; margin-bottom: 28px; }
.preview-row { display: flex; gap: 20px; padding: 13px 18px; border-bottom: 1px solid var(--border); align-items: baseline; }
.preview-row:last-child { border-bottom: none; }
.preview-k {
  font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: 3px; text-transform: uppercase;
  color: rgba(148,188,242,.76); min-width: 80px; flex-shrink: 0;
}
.preview-v { font-size: 15px; color: var(--dim); line-height: 1.55; }
.btn-submit {
  width: 100%; display: flex; align-items: center; justify-content: center; gap: 12px;
  padding: 17px; background: var(--lime); color: var(--bg); border: 1px solid var(--lime);
  font-family: 'IBM Plex Mono', monospace; font-size: 12px; letter-spacing: 4px; text-transform: uppercase;
  cursor: none; transition: all .25s; font-weight: 600;
}
.btn-submit:hover { background: transparent; color: var(--lime); }
.btn-submit:hover svg { transform: translateX(5px); }
.btn-submit svg { transition: transform .25s; }
.btn-submit:disabled { opacity: .45; pointer-events: none; }
.form-success { display: none; padding: clamp(40px, 5vw, 56px) clamp(12px, 3vw, 24px); }
.form-success.show { display: block; animation: stepIn .5s ease forwards; }
.contact-section .form-success {
  border: 1px solid rgba(168, 198, 245, .2);
  background: linear-gradient(180deg, rgba(46, 204, 113, .06), transparent 55%), rgba(6, 10, 8, .55);
  margin-top: 8px;
}
.success-check {
  width: 52px; height: 52px; border: 1px solid var(--lime); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; margin-bottom: 28px;
}
.success-title {
  font-family: 'Syne', sans-serif; font-weight: 900;
  font-size: clamp(40px,5vw,72px); line-height: .9; color: var(--white); margin-bottom: 20px;
}
.success-body { font-size: 17px; color: var(--dim); line-height: 1.8; max-width: 440px; margin-bottom: 24px; }
.success-ref {
  font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: 3px; text-transform: uppercase;
  color: rgba(132,176,236,.68); border: 1px solid var(--border); padding: 8px 14px; display: inline-block;
}
.ct-sidebar { padding-top: 8px; }
.ct-status { display: flex; align-items: center; gap: 9px; padding: 10px 14px; border: 1px solid var(--border); margin-bottom: 40px; }
.ct-status-dot {
  width: 6px; height: 6px; background: #2ecc71; border-radius: 50%;
  box-shadow: 0 0 7px rgba(46,204,113,.5); animation: blink 2.4s ease-in-out infinite;
}
@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: .3; } }
.ct-status-txt { font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: rgba(237,237,237,.5); }
.ct-status-txt strong { color: #2ecc71; }
.sidebar-block { margin-bottom: 36px; }
.sidebar-lbl { font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: 4px; text-transform: uppercase; color: var(--muted); margin-bottom: 9px; }

/* Clearer transitions for inner-page section stacks */
.filter-section,
#work,
.contact-section,
.faq-section,
.cta-section,
.process-section,
.svc-block {
  position: relative;
}
.filter-section::before,
#work::before,
.contact-section::before,
.faq-section::before,
.cta-section::before,
.process-section::before,
.svc-block::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: clamp(40px, 6vw, 70px);
  background: linear-gradient(to bottom, rgba(255,255,255,.018) 0%, rgba(255,255,255,0) 100%);
  pointer-events: none;
  z-index: 0;
}

/* Stronger section separation when particles-only background is active */
body.particles-only-bg .filter-section,
body.particles-only-bg #work,
body.particles-only-bg .contact-section,
body.particles-only-bg .faq-section,
body.particles-only-bg .cta-section,
body.particles-only-bg .process-section,
body.particles-only-bg .svc-block,
body.particles-only-bg .quote-section,
body.particles-only-bg .approach-section,
body.particles-only-bg .domains-section,
body.particles-only-bg .stats-strip,
body.particles-only-bg #posts {
  border-top: 1px solid rgba(255, 255, 255, .11);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .045);
}
body.particles-only-bg .filter-section,
body.particles-only-bg .process-section,
body.particles-only-bg .quote-section,
body.particles-only-bg .domains-section,
body.particles-only-bg #posts {
  background-color: rgba(18, 18, 18, .78);
}
body.particles-only-bg .contact-section {
  background-color: rgba(5, 5, 6, .94);
}
body.particles-only-bg #work,
body.particles-only-bg .faq-section,
body.particles-only-bg .cta-section,
body.particles-only-bg .svc-block,
body.particles-only-bg .approach-section,
body.particles-only-bg .stats-strip {
  background-color: rgba(9, 9, 9, .62);
}
body.particles-only-bg .filter-section::before,
body.particles-only-bg #work::before,
body.particles-only-bg .contact-section::before,
body.particles-only-bg .faq-section::before,
body.particles-only-bg .cta-section::before,
body.particles-only-bg .process-section::before,
body.particles-only-bg .svc-block::before {
  background: linear-gradient(to bottom, rgba(255, 255, 255, .06) 0%, rgba(255, 255, 255, 0) 100%);
}
.sidebar-val { font-size: 16px; color: var(--dim); line-height: 1.7; }
.sidebar-val a { color: var(--dim); text-decoration: none; transition: color .2s; }
.sidebar-val a:hover { color: var(--lime); }
.sidebar-val a.sidebar-mail {
  border-bottom: 1px solid rgba(255, 255, 255, .18);
  transition: border-color .2s, color .2s;
}
.sidebar-val a.sidebar-mail:hover {
  border-color: var(--lime);
}
.sidebar-rule { width: 1px; height: 32px; background: var(--border); margin: 0 0 36px; }

.contact-section .fg label {
  font-size: 13px;
  letter-spacing: 2.8px;
  color: var(--muted);
}
.contact-section .fg input,
.contact-section .fg textarea,
.contact-section .fg select {
  font-size: 20px;
  font-weight: 400;
  color: var(--white);
}
.contact-section .fg-error { font-size: 14px; }
.contact-section .char-row { font-size: 15px; letter-spacing: 1.2px; }
.contact-section .pcard-n { font-size: 14px; letter-spacing: 1.5px; }
.contact-section .pcard-name { font-size: 21px; line-height: 1.5; }
.contact-section .preview-k { font-size: 14px; letter-spacing: 2.8px; }
.contact-section .preview-v { font-size: 20px; line-height: 1.6; }
.contact-section .btn-back,
.contact-section .btn-next,
.contact-section .btn-submit { font-size: 16px; letter-spacing: 1.1px; }

/* Contact page enquiry redesign */
.contact-section .ct-body {
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: clamp(36px, 5vw, 72px);
}
.contact-section .brief-panel,
.contact-section .ct-sidebar {
  border: none;
  background: none;
  box-shadow: none;
}
.contact-section .brief-panel {
  padding: 0;
  position: relative;
}
.contact-section .brief-panel::before {
  display: none;
}
.contact-section .brief-panel-head {
  padding-bottom: 22px;
  margin-bottom: 28px;
  border-bottom: 1px solid rgba(255,255,255,.09);
}
.contact-section .brief-panel-kicker {
  display: block;
  margin-bottom: 9px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--lime);
}
.contact-section .brief-panel-title {
  margin: 0 0 10px;
  font-family: 'Syne', sans-serif;
  font-weight: 900;
  font-size: clamp(32px, 3.2vw, 48px);
  line-height: 1;
  letter-spacing: -.7px;
  color: var(--white);
}
.contact-section .brief-panel-copy {
  margin: 0;
  max-width: 620px;
  font-size: 19px;
  line-height: 1.65;
  color: rgba(242,246,252,.74);
}
.contact-section .brief-progress {
  margin-bottom: 42px;
  padding: 0;
  border: none;
  background: none;
}
.contact-section .bp-step {
  flex-shrink: 0;
  gap: 0;
}
.contact-section .bp-label {
  font-size: 12px;
  letter-spacing: 3px;
  font-weight: 600;
  text-transform: uppercase;
  color: rgba(242,246,252,.62);
}
.contact-section .bp-step.active .bp-label,
.contact-section .bp-step.done .bp-label {
  color: var(--white);
}
.contact-section .bp-line {
  background: rgba(255,255,255,.12);
}
.contact-section .brief-step {
  min-height: 390px;
}
.contact-section .step-heading {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  padding-bottom: 20px;
  margin-bottom: 26px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.contact-section .step-meta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 640px;
}
.contact-section .step-title {
  font-family: 'Syne', sans-serif;
  font-weight: 900;
  font-size: clamp(32px, 3.2vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.7px;
  color: var(--white);
}
.contact-section #step-1 .step-title {
  font-family: 'Roboto', sans-serif;
  font-weight: 900;
  letter-spacing: -0.35px;
}
.contact-section .step-sub {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--lime);
  opacity: .8;
}
.contact-section .fgrid {
  gap: 0 40px;
  margin-bottom: 0;
}
.contact-section .fg {
  padding: 18px 0;
  border: none;
  background: none;
  transition: none;
}
.contact-section .fg:focus-within {
  border-color: transparent;
  background: none;
  box-shadow: none;
}
.contact-section .fg:focus-within input,
.contact-section .fg:focus-within textarea {
  border-bottom-color: var(--lime);
}
.contact-section .fg input,
.contact-section .fg textarea {
  border-bottom: 1px solid var(--border);
  padding: 6px 0 0;
}
.contact-section .fg-bar {
  display: none;
}
.contact-section .fg textarea {
  min-height: 160px;
  resize: vertical;
}
.contact-section .project-cards {
  gap: 14px;
}
.contact-section .pcard {
  padding: 18px 20px;
  border-color: var(--border);
  background: none;
  cursor: pointer;
}
.contact-section .pcard:hover {
  border-color: var(--border-lime);
  background: none;
}
.contact-section .pcard.sel {
  border-color: var(--lime);
  background: var(--lime-8);
  box-shadow: none;
}
.contact-section .pcard-name {
  color: rgba(242,246,252,.86);
}
.contact-section .step-nav {
  margin-top: 34px;
}
.contact-section .btn-next,
.contact-section .btn-submit {
  min-height: 58px;
  border-radius: 0;
}
.contact-section .btn-submit {
  justify-content: space-between;
}
.contact-section .ct-sidebar {
  padding: 0 0 0 clamp(24px, 3vw, 40px);
  border-left: 1px solid var(--border);
  position: sticky;
  top: 96px;
  background: none;
}
.contact-section .ct-status {
  margin-bottom: 28px;
  background: none;
}
.contact-section .ct-status-txt {
  font-size: 12px;
  letter-spacing: 2.2px;
}
.contact-section .sidebar-lbl {
  font-size: 12px;
  letter-spacing: 3.5px;
}
.contact-section .sidebar-val {
  font-size: 19px;
}
.contact-section .ct-header-right p {
  font-size: 19px;
}
.contact-section .form-success .success-title {
  font-size: clamp(44px, 5.5vw, 80px);
}
.contact-section .form-success .success-body {
  font-size: 20px;
}
.contact-section .form-success .success-ref {
  font-size: 12px;
}
.contact-section .sidebar-block {
  margin-bottom: 28px;
}
.contact-section .sidebar-rule {
  width: 100%;
  height: 1px;
  margin-bottom: 28px;
}

/* ── HOME ENQUIRY (index #contact) ── */
#contact.home-enquiry {
  position: relative;
  padding: clamp(100px, 12vw, 160px) 0;
  border-top: 1px solid var(--border-lime);
  background: var(--bg);
  overflow: hidden;
}
#contact.home-enquiry::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(680px 500px at 6% 72%, rgba(94, 144, 227, .055), transparent 70%);
}
#contact.home-enquiry > .wrap {
  position: relative;
  z-index: 1;
}

/* Shell: open layout — no card, no glass */
.ds-enquiry-shell {
  background: none;
  border: none;
  box-shadow: none;
  position: relative;
  overflow: visible;
}
.ds-enquiry-shell::before { display: none; }

.ds-enquiry-layout {
  display: grid;
  grid-template-columns: minmax(0, 360px) minmax(0, 1fr);
  gap: clamp(56px, 8vw, 100px);
  padding: 0;
  align-items: start;
}

/* Aside: sticky while form scrolls */
.ds-enquiry-aside {
  padding-right: 0;
  border-right: none;
  position: sticky;
  top: calc(var(--nav-h) + 48px);
}
.ds-enquiry-aside .label {
  display: block;
  margin-bottom: 20px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  letter-spacing: 2.8px;
  text-transform: uppercase;
  color: var(--lime);
}
.ds-enquiry-aside .heading {
  margin-bottom: 0;
  font-size: clamp(54px, 6vw, 84px);
  line-height: 0.92;
  letter-spacing: -2.5px;
  font-weight: 900;
  color: var(--white);
}
.ds-enquiry-aside .ct-copy {
  margin-top: 0;
  margin-bottom: 40px;
  max-width: none;
  font-size: 16px;
  line-height: 1.75;
  color: var(--dim);
  border-top: 1px solid var(--border-lime);
  padding-top: 24px;
  margin-top: 28px;
}

/* Numbered detail items via CSS counter */
.ds-enquiry-aside .ct-detail-list {
  counter-reset: enquiry-detail;
  gap: 0;
}
.ds-enquiry-aside .ct-detail-item {
  display: grid;
  grid-template-columns: 28px 1fr;
  grid-template-rows: auto auto;
  column-gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
  counter-increment: enquiry-detail;
}
.ds-enquiry-aside .ct-detail-item:first-child {
  border-top: 1px solid rgba(255, 255, 255, .07);
}
.ds-enquiry-aside .ct-detail-item:last-child { border-bottom: none; }
.ds-enquiry-aside .ct-detail-item::before {
  content: counter(enquiry-detail, decimal-leading-zero);
  grid-column: 1;
  grid-row: 1 / 3;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  color: var(--lime);
  align-self: start;
  padding-top: 2px;
}
.ds-enquiry-aside .ct-detail-lbl {
  grid-column: 2;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 5px;
}
.ds-enquiry-aside .ct-detail-val {
  grid-column: 2;
  font-size: 16px;
  color: rgba(248, 250, 255, .92);
  line-height: 1.5;
}
.ds-enquiry-aside .ct-detail-val a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, .18);
  transition: color .2s, border-color .2s;
}
.ds-enquiry-aside .ct-detail-val a:hover {
  color: var(--lime);
  border-color: var(--lime);
}

/* Form panel */
.ds-enquiry-panel { min-width: 0; }

.ds-enquiry-form {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Unused form-head rules kept for contact page compatibility */
.ds-enquiry-form .ct-form-head {
  margin: -4px 0 6px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.ds-enquiry-form .ct-form-kicker {
  display: block;
  margin-bottom: 10px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--lime);
}
.ds-enquiry-form .ct-form-title {
  margin: 0 0 10px;
  font-family: 'Syne', sans-serif;
  font-weight: 900;
  font-size: clamp(26px, 2.9vw, 40px);
  line-height: 1.05;
  letter-spacing: -0.5px;
  color: var(--white);
}
.ds-enquiry-form .ct-form-sub {
  margin: 0;
  font-size: 17px;
  line-height: 1.65;
  color: rgba(242, 246, 252, .68);
  max-width: 520px;
}

/* First/Last name row: shared bottom border across both columns */
.ds-enquiry-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 40px;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
  transition: border-color .25s;
}
.ds-enquiry-form .form-row:focus-within {
  border-color: var(--lime);
}
.ds-enquiry-form .form-row .fg {
  border-bottom: none;
  background: none;
  box-shadow: none;
  padding-left: 0;
  padding-right: 0;
}
.ds-enquiry-form .form-row .fg:focus-within {
  border-color: transparent;
  background: none;
  box-shadow: none;
}

/* Field groups: open bottom-border style */
.ds-enquiry-form .fg {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
  background: none;
  transition: border-color .25s;
}
.ds-enquiry-form .fg:focus-within {
  border-color: var(--lime);
  background: none;
  box-shadow: none;
}
.ds-enquiry-form .fg label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--muted);
  transition: color .2s;
}
.ds-enquiry-form .fg:focus-within label {
  color: var(--lime);
}
.ds-enquiry-form .fg input,
.ds-enquiry-form .fg select,
.ds-enquiry-form .fg textarea {
  background: transparent;
  border: none;
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 19px;
  font-weight: 400;
  padding: 4px 0 0;
  width: 100%;
  outline: none;
}
.ds-enquiry-form .fg select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%235e90e3' d='M2 4l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 4px center;
  padding-right: 28px;
}
.ds-enquiry-form .fg select option {
  background: var(--bg-1);
  color: var(--white);
}
.ds-enquiry-form .fg textarea {
  min-height: 120px;
  resize: none;
  line-height: 1.65;
}
.ds-enquiry-form .fg input::placeholder,
.ds-enquiry-form .fg textarea::placeholder {
  color: var(--muted);
  opacity: .7;
}
.ds-enquiry-form .hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
  height: 0;
  overflow: hidden;
}

/* Submit: full-width, sharp-edged, bold */
.ds-enquiry-form .ds-enquiry-submit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 58px;
  margin-top: 32px;
  padding: 18px 24px;
  background: var(--lime);
  color: #060606;
  border: 2px solid var(--lime);
  border-radius: 0;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 14px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  font-weight: 700;
  cursor: pointer;
  transition: background .25s, color .25s;
}
.ds-enquiry-form .ds-enquiry-submit:hover {
  background: transparent;
  color: var(--lime);
}
.ds-enquiry-form .ds-enquiry-submit:hover svg {
  transform: translateX(6px);
}
.ds-enquiry-form .ds-enquiry-submit svg {
  flex-shrink: 0;
  transition: transform .25s;
}
.ds-enquiry-form .ds-enquiry-submit:disabled {
  opacity: .5;
  pointer-events: none;
}

#home-toast {
  position: fixed;
  bottom: 32px;
  right: 32px;
  max-width: min(380px, calc(100vw - 40px));
  padding: 14px 20px;
  z-index: 9950;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  line-height: 1.45;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .4s, transform .4s;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 16px 48px rgba(0, 0, 0, .45);
}
#home-toast.home-toast-ok {
  background: var(--lime);
  color: var(--bg);
  border-color: rgba(0, 0, 0, .12);
}
#home-toast.home-toast-err {
  background: #c0392b;
  color: #fff;
  border-color: rgba(0, 0, 0, .2);
}

@media (max-width: 900px) {
  .ds-enquiry-layout {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 0;
  }
  .ds-enquiry-aside {
    position: static;
    padding-right: 0;
    border-right: none;
    padding-bottom: 0;
    border-bottom: none;
  }
  .ds-enquiry-form .form-row {
    grid-template-columns: 1fr;
    border-bottom: none;
  }
  .ds-enquiry-form .form-row .fg {
    border-bottom: 1px solid rgba(255, 255, 255, .07);
  }
  .ds-enquiry-form .form-row .fg:focus-within {
    border-color: var(--lime);
  }
}

/* ── FAQ ── */
.faq-section { padding: clamp(80px,10vw,130px) 0; background: var(--bg-1); border-top: 1px solid var(--border); }
.faq-list { margin-top: 56px; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-q {
  display: flex; justify-content: space-between; align-items: center; padding: 24px 0;
  cursor: none; font-size: 20px; font-weight: 400; color: var(--white); transition: color .2s;
}
.faq-q:hover { color: var(--lime); }
.faq-icon {
  font-family: 'IBM Plex Mono', monospace; font-size: 24px; color: var(--lime); line-height: 1;
  transition: transform .3s; user-select: none;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a { font-size: 17px; color: var(--dim); line-height: 1.75; padding: 0 0 24px; display: none; max-width: 640px; }
.faq-item.open .faq-a { display: block; }

/* Let animated inner background remain visible under section blocks */
body.inner-bg .filter-section,
body.inner-bg .cap-ticker,
body.inner-bg .quote-section,
body.inner-bg .approach-section,
body.inner-bg .faq-section,
body.inner-bg .svc-block:nth-child(even),
body.inner-bg .svc-block:nth-child(odd),
body.inner-bg .process-section {
  background-color: rgba(8,8,8,.74);
  background-image: linear-gradient(to bottom, rgba(255,255,255,.012), rgba(255,255,255,0));
}
body.inner-bg .process-step,
body.inner-bg .domain-card,
body.inner-bg .post-card,
body.inner-bg .proj-card,
body.inner-bg .approach-marker {
  background-color: rgba(10,10,10,.82);
}
body.inner-bg .process-step:hover,
body.inner-bg .domain-card:hover {
  background-color: rgba(16,16,16,.9);
}
body.inner-bg #work {
  background-color: rgba(8,8,8,.68);
  background-image: linear-gradient(to bottom, rgba(255,255,255,.012), rgba(255,255,255,0));
}
body.inner-bg .proj-grid {
  background: rgba(255,255,255,.12);
}
body.inner-bg .proj-card {
  background-color: rgba(8,8,8,.58);
}
body.inner-bg .proj-card:hover {
  background-color: rgba(10,10,10,.66);
}

body.inner-bg .process-step,
body.inner-bg .process-step:hover {
  background-color: var(--bg);
}

/* ── TOAST ── */
#toast {
  position: fixed; bottom: 36px; right: 36px;
  font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: 2px; text-transform: uppercase;
  padding: 13px 22px; z-index: 9950;
  opacity: 0; transform: translateY(16px); transition: opacity .4s, transform .4s; pointer-events: none;
}
#toast.show { opacity: 1; transform: translateY(0); }
#toast.ok  { background: var(--lime); color: var(--bg); }
#toast.err { background: #c0392b; color: #fff; }

/* Readability boost: reusable across pages by adding class on <body> */
body.readability-boost .label,
body.readability-boost .pg-hero-tag,
body.readability-boost .svc-num,
body.readability-boost .svc-tech-lbl,
body.readability-boost .svc-link,
body.readability-boost .process-step-num,
body.readability-boost .quote-label,
body.readability-boost .domain-kicker,
body.readability-boost .step-kicker,
body.readability-boost .sidebar-lbl {
  font-size: 20px !important;
  font-weight: 700 !important;
  color: rgba(168, 205, 255, 0.98) !important;
}

body.readability-boost .pg-hero-sub,
body.readability-boost .svc-intro,
body.readability-boost .cap-desc,
body.readability-boost .process-step-desc,
body.readability-boost .domain-desc,
body.readability-boost .ct-header-right p,
body.readability-boost .post-card-meta,
body.readability-boost .faq-a,
body.readability-boost .proj-card-desc {
  font-size: 17px !important;
  color: rgba(242, 246, 252, 0.92) !important;
}

/* Keep title hierarchy clearly larger than boosted small text */
body.readability-boost .cap-title {
  font-size: 24px !important;
  font-weight: 800 !important;
}
body.readability-boost .process-step-title {
  font-size: clamp(16px,1.5vw,20px) !important;
  font-weight: 800 !important;
}
body.readability-boost .post-card-title,
body.readability-boost .proj-card-title {
  font-size: 34px !important;
}

/* Contact enquiry: stay slightly larger than default readability body copy */
body.readability-boost .contact-section .ct-header-right p {
  font-size: 20px !important;
}
body.readability-boost .contact-section .preview-v {
  font-size: 21px !important;
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .pg-hero-aside { display: none; }
  .ct-body { grid-template-columns: 1fr; }
  .ct-sidebar { border-top: 1px solid var(--border); padding-top: 52px; margin-top: 52px; }
  .ct-header { flex-direction: column; align-items: flex-start; gap: 20px; }
  .ct-header-right p { text-align: left; }
  .svc-layout, .svc-layout.flip { grid-template-columns: 1fr; direction: ltr; gap: 48px; }
  .svc-sticky { position: static; }
  .process-track { grid-template-columns: repeat(2,1fr); }
  .quote-inner { grid-template-columns: 1fr; gap: 32px; }
  .domains-grid { grid-template-columns: 1fr; }
  .stats-inner { grid-template-columns: 1fr 1fr; }
  .ss-div { display: none; }
}
@media (max-width: 900px) { .posts-grid { grid-template-columns: 1fr; } }
@media (max-width: 768px) {
  .pg-hero-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
    padding-top: clamp(36px, 8vw, 56px);
    padding-bottom: 48px;
  }
  .pg-hero-h1 {
    font-size: clamp(54px, 14vw, 100px);
    overflow-wrap: anywhere;
  }
  .heading { overflow-wrap: anywhere; }
  .pg-hero-stats {
    width: 100%;
    justify-content: flex-start;
    gap: 24px 32px;
    padding-bottom: 0;
  }
  .pg-hero--centered .pg-hero-inner {
    align-items: center;
  }
  .pg-hero--centered .pg-hero-stats {
    justify-content: center;
  }
  .proj-grid { grid-template-columns: 1fr; }
  .proj-card.featured-layout { grid-column: span 1; }
  .filter-tab { padding: 14px 18px; font-size: 13px; letter-spacing: 1px; }
  .fgrid { grid-template-columns: 1fr; }
  .project-cards { grid-template-columns: 1fr; }
  .approach-step { grid-template-columns: 1fr; gap: 12px; }
  .approach-marker { width: 32px; height: 32px; }
  .approach-timeline::before { display: none; }
  .stats-inner { grid-template-columns: 1fr 1fr; }
  .process-track { grid-template-columns: 1fr; }
  .post-card-img { height: 180px; }
  .bp-label { display: none; }
}
@media (pointer: coarse) {
  .filter-tab, .svc-link, .btn-next, .btn-back, .btn-submit, .pcard, .faq-q { cursor: auto !important; }
}

/* Contact page mobile: keep enquiry form unblocked by the sidebar */
@media (max-width: 1024px) {
  .contact-section .ct-body {
    display: grid;
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }

  .contact-section .brief-panel {
    width: 100%;
    min-width: 0;
    order: 1;
    position: relative;
    z-index: 2;
  }

  .contact-section .ct-sidebar {
    position: static !important;
    top: auto !important;
    width: 100%;
    min-width: 0;
    order: 2;
    margin-top: 0 !important;
  }
}

@media (max-width: 768px) {
  .contact-section .brief-panel,
  .contact-section .ct-sidebar {
    padding: 20px !important;
  }

  .contact-section .ct-sidebar {
    display: none !important;
  }

  .contact-section .brief-progress {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .contact-section .bp-label {
    display: inline !important;
    font-size: 13px;
    white-space: nowrap;
  }

  .contact-section .brief-step {
    min-height: auto;
  }
}

@media (max-width: 480px) {
  .pg-hero-stats {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .pg-hero--centered .pg-hero-stats {
    align-items: center;
  }
  .faq-q {
    font-size: 18px;
    padding: 18px 0;
  }
  .cap-title {
    font-size: 18px;
    line-height: 1.25;
  }
  .filter-tab {
    padding: 16px 14px;
    font-size: 12px;
    letter-spacing: 0.8px;
  }
  .stats-inner {
    grid-template-columns: 1fr;
  }
}
