/* shared.css — Design System for evanknox.com */

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

/* Root Variables */
:root{
  --bg:#070810;
  --card:#121525;
  --card-hover:#1A1C2E;
  --lime:#8B5CF6;
  --lime-dim:rgba(139,92,246,0.10);
  --white:#E8ECF8;
  --t1:#E8ECF8;
  --t2:#7C8DB5;
  --t3:rgba(232,236,248,0.35);
  --t4:rgba(232,236,248,0.25);
  --accent-start:#3B82F6;
  --accent-mid:#8B5CF6;
  --accent-end:#D946EF;
  --gradient:linear-gradient(135deg, var(--accent-start), var(--accent-mid), var(--accent-end));
}
html{scroll-behavior:smooth}
body{
  background:var(--bg);
  color:var(--t1);
  font-family:'Instrument Sans',system-ui,sans-serif;
  -webkit-font-smoothing:antialiased;
  font-size:16px;
  line-height:1.55;
  letter-spacing:-0.3px;
  overflow-x:hidden;
}

/* Typography */
h1{
  font-family:'Instrument Serif',Georgia,serif;
  font-style:italic;
  font-weight:400;
  font-size:clamp(40px,5.5vw,68px);
  letter-spacing:-2px;
  line-height:1;
}
h2{
  font-family:'Instrument Serif',Georgia,serif;
  font-weight:400;
  font-size:clamp(32px,4vw,56px);
  letter-spacing:-1.5px;
  line-height:1.05;
}
h3{
  font-family:'Instrument Sans',sans-serif;
  font-weight:600;
  font-size:18px;
  letter-spacing:-0.5px;
  line-height:1.2;
}

/* Focus styles */
:focus-visible{
  outline:2px solid var(--lime);
  outline-offset:2px;
}

/* Nav */
.nav{
  position:fixed;
  top:0;left:0;right:0;
  z-index:100;
  padding:16px 48px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  background:rgba(7,8,16,0.92);
  backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);
}
.nav-logo{
  font-family:'Instrument Sans',sans-serif;
  font-weight:700;
  font-size:15px;
  color:var(--white);
  letter-spacing:1px;
  text-decoration:none;
}
.nav-logo span{color:var(--t3);margin-right:6px}
.nav-links{
  display:flex;
  align-items:center;
  gap:4px;
  background:rgba(16,18,30,0.85);
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
  border:1px solid rgba(139,92,246,0.06);
  border-radius:8px;
  padding:4px;
}
.nav-link{
  color:var(--t2);
  font-size:14px;
  font-weight:500;
  text-decoration:none;
  padding:8px 16px;
  border-radius:6px;
  transition:color 0.2s;
}
.nav-link:hover{color:var(--white)}
.nav-link.active{color:var(--white)}
.nav-cta{
  display:inline-flex;
  align-items:center;
  background:var(--gradient);
  color:#fff;
  font-family:'Pixelify Sans',monospace;
  font-size:14px;
  font-weight:500;
  padding:10px 20px;
  min-height:44px;
  border-radius:6px;
  text-decoration:none;
  transition:opacity 0.2s;
}
.nav-cta:hover{opacity:0.95}

/* Hero */
.hero{
  position:relative;
  min-height:100vh;
  display:flex;
  align-items:center;
  padding:80px 0;
  overflow:hidden;
}
.hero-bg{
  position:absolute;inset:0;
  background:
    radial-gradient(ellipse 80% 50% at 50% 20%, rgba(59,130,246,0.08) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 30% 30%, rgba(139,92,246,0.06) 0%, transparent 50%),
    radial-gradient(ellipse 40% 30% at 70% 25%, rgba(217,70,239,0.04) 0%, transparent 50%),
    linear-gradient(180deg, rgba(7,8,16,0.3) 0%, #070810 100%);
}
.hero-bg canvas{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  pointer-events:none;
}
.hero-content{
  position:relative;
  z-index:2;
  max-width:1200px;
  margin:0 auto;
  padding:0 48px;
  width:100%;
}
.hero-pill{
  display:inline-block;
  font-family:'JetBrains Mono',monospace;
  font-size:12px;
  font-weight:500;
  color:var(--lime);
  background:var(--lime-dim);
  border:1px solid rgba(139,92,246,0.15);
  padding:6px 14px;
  border-radius:20px;
  margin-bottom:20px;
}
.hero .sub{
  font-size:20px;
  font-weight:500;
  color:var(--t2);
  letter-spacing:-0.6px;
  line-height:1.2;
  max-width:560px;
  margin-bottom:32px;
}
.hero-actions{display:flex;align-items:center;gap:20px;flex-wrap:wrap}
.hero-secondary{
  color:var(--t3);
  font-size:15px;
  font-weight:500;
  text-decoration:none;
  transition:color 0.2s;
}
.hero-secondary:hover{color:var(--t2)}

/* Buttons */
.btn-lime{
  display:inline-block;
  background:var(--gradient);
  color:#fff;
  font-family:'Pixelify Sans',monospace;
  font-size:16px;
  font-weight:500;
  padding:14px 36px;
  border-radius:8px;
  text-decoration:none;
  border:none;
  cursor:pointer;
  box-shadow:0 0 24px rgba(139,92,246,0.25);
  transition:opacity 0.2s,box-shadow 0.2s;
  min-height:44px;
}
.btn-lime:hover{box-shadow:0 0 32px rgba(139,92,246,0.35);opacity:0.95}

/* Ticker */
.ticker{
  overflow:hidden;
  padding:20px 0;
  position:relative;
  z-index:20;
  background:var(--bg);
  margin-top:-1px;
  -webkit-mask-image:linear-gradient(90deg, transparent 0%, black 10%, black 90%, transparent 100%);
  mask-image:linear-gradient(90deg, transparent 0%, black 10%, black 90%, transparent 100%);
}
.ticker-track{
  display:flex;
  gap:60px;
  animation:ticker 25s linear infinite;
  width:max-content;
}
.ticker-item{
  font-family:'Instrument Sans',sans-serif;
  font-size:16px;
  font-weight:500;
  color:var(--t2);
  white-space:nowrap;
  display:flex;
  align-items:center;
  gap:8px;
}
.ticker-dot{
  width:6px;height:6px;
  border-radius:50%;
  background:var(--t3);
  opacity:0.5;
  flex-shrink:0;
}
@keyframes ticker{
  0%{transform:translateX(0)}
  100%{transform:translateX(-50%)}
}

/* Stats */
.stats-wrapper{
  max-width:1200px;
  margin:0 auto;
  padding:40px 48px;
  position:relative;
  z-index:10;
}
.stats{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:1px;
  background:rgba(139,92,246,0.04);
  border-radius:16px;
  overflow:hidden;
}
.stat-box{
  background:var(--card);
  padding:36px 24px;
  text-align:center;
}
.stat-num{
  font-family:'Instrument Serif',serif;
  font-size:42px;
  font-weight:400;
  letter-spacing:-1px;
  color:var(--white);
}
.stat-label{
  font-size:13px;
  color:var(--t3);
  margin-top:4px;
  letter-spacing:-0.2px;
}

/* Sections */
.section{
  max-width:1200px;
  margin:0 auto;
  padding:64px 48px;
}
.section h2{margin-bottom:48px}

/* Pills */
.pill{
  display:inline-block;
  font-family:'JetBrains Mono',monospace;
  font-size:12px;
  font-weight:500;
  color:var(--t3);
  background:rgba(139,92,246,0.08);
  padding:5px 14px;
  border-radius:20px;
  margin-bottom:16px;
  letter-spacing:0.5px;
  text-transform:uppercase;
}

/* Grids */
.grid-2{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}
.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}

/* Cards */
.card{
  background:var(--card);
  border:1px solid rgba(139,92,246,0.08);
  border-radius:14px;
  padding:28px 32px;
  transition:background 0.3s ease, transform 0.2s ease;
  box-shadow:inset 0 1px 0 rgba(232,236,248,0.03);
}
.card:hover{background:var(--card-hover)}
.card-title{
  font-family:'Instrument Sans',sans-serif;
  font-size:18px;
  font-weight:600;
  color:var(--white);
  margin-bottom:10px;
  letter-spacing:-0.3px;
  display:flex;
  align-items:center;
  gap:10px;
}
.card-title::before{
  content:'';
  width:6px;height:6px;
  border-radius:50%;
  background:var(--lime);
  flex-shrink:0;
}
.card-text{
  font-size:15px;
  color:var(--t2);
  line-height:1.55;
  letter-spacing:-0.3px;
  max-width:640px;
}

/* Statement break */
.statement{
  padding:72px 48px;
  text-align:center;
  position:relative;
  overflow:hidden;
}
.statement-text{
  font-family:'Instrument Serif',Georgia,serif;
  font-style:italic;
  font-size:clamp(36px,4.5vw,64px);
  font-weight:400;
  letter-spacing:-2px;
  line-height:1.05;
  color:var(--white);
  max-width:900px;
  margin:0 auto;
  position:relative;
  z-index:2;
}
.statement-bg{
  position:absolute;inset:0;
  background:
    radial-gradient(ellipse 70% 60% at 50% 50%, rgba(139,92,246,0.04) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 30% 50%, rgba(59,130,246,0.03) 0%, transparent 50%),
    radial-gradient(ellipse 40% 40% at 70% 50%, rgba(217,70,239,0.02) 0%, transparent 50%);
  pointer-events:none;
}

/* Category blocks */
.cat{
  background:var(--card);
  border:1px solid rgba(139,92,246,0.08);
  border-radius:14px;
  padding:28px 32px;
  margin-bottom:16px;
  transition:background 0.3s, transform 0.2s;
  box-shadow:inset 0 1px 0 rgba(232,236,248,0.03);
}
.cat:hover{background:var(--card-hover);transform:translateY(-2px)}
.cat-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:16px;
  flex-wrap:wrap;
  gap:12px;
}
.cat-title{
  font-family:'Instrument Serif',serif;
  font-size:24px;
  font-weight:400;
  letter-spacing:-0.5px;
  color:var(--white);
}
.cat-badge{
  background:var(--lime-dim);
  color:var(--lime);
  font-family:'JetBrains Mono',monospace;
  font-size:12px;
  font-weight:500;
  padding:5px 14px;
  border-radius:20px;
  white-space:nowrap;
}
.cat-output{
  font-size:13px;
  color:var(--t3);
  margin-bottom:18px;
  font-weight:500;
}

/* Items grid */
.items{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:10px 20px;
}

/* Interactive items */
.item{
  font-size:14px;
  color:var(--t2);
  line-height:1.55;
  cursor:pointer;
  border-radius:8px;
  padding:10px 12px;
  margin:-4px -12px;
  transition:background 0.2s;
}
.item b{color:var(--t1);font-weight:500}
.item:hover{
  background:rgba(139,92,246,0.04);
}
.item-chevron{
  display:inline-block;
  font-size:11px;
  color:var(--t3);
  margin-left:6px;
  transition:transform 0.2s;
}
.item.open .item-chevron{
  transform:rotate(90deg);
}
.item-expand{
  display:grid;
  grid-template-rows:0fr;
  transition:grid-template-rows 0.3s ease;
}
.item.open .item-expand{
  grid-template-rows:1fr;
}
.item-expand-inner{
  overflow:hidden;
}
.item-steps{
  padding:12px 0 4px 16px;
  border-left:2px solid rgba(139,92,246,0.2);
  margin-top:10px;
}
.item-step{
  display:flex;
  gap:10px;
  align-items:flex-start;
  margin-bottom:8px;
  font-size:13px;
  color:var(--t2);
  line-height:1.5;
}
.item-step:last-child{
  margin-bottom:0;
}
.step-num{
  font-family:'JetBrains Mono',monospace;
  font-size:11px;
  color:var(--lime);
  background:var(--lime-dim);
  border-radius:4px;
  padding:2px 6px;
  flex-shrink:0;
  margin-top:1px;
}

/* Result cards */
.result{
  background:var(--card);
  border:1px solid rgba(139,92,246,0.08);
  border-radius:14px;
  padding:32px;
  transition:background 0.3s, transform 0.2s;
  box-shadow:rgba(139,92,246,0.12) 3px 3px 0px 0px, inset 0 1px 0 rgba(232,236,248,0.03);
}
.result:hover{background:var(--card-hover)}
.result-num{
  font-family:'Instrument Serif',serif;
  font-size:32px;
  letter-spacing:-1px;
  color:var(--white);
  margin-bottom:10px;
}
.result-desc{
  font-size:14px;
  color:var(--t2);
  line-height:1.55;
}
.result-tag{
  font-family:'JetBrains Mono',monospace;
  font-size:12px;
  color:var(--t3);
  margin-top:16px;
}

/* Footer */
footer{
  text-align:center;
  padding:80px 48px 40px;
}
footer p{font-size:14px;color:var(--t3)}
footer a{color:var(--t1);text-decoration:none;transition:opacity 0.2s}
footer a:hover{opacity:0.7}
footer .updated{font-size:12px;margin-top:8px;color:var(--t4)}

/* Scroll reveal */
.reveal{
  opacity:0;
  transform:translateY(20px);
  transition:opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible{
  opacity:1;
  transform:translateY(0);
}

/* ===========================
   NEW COMPONENTS
   =========================== */

/* Live Dashboard */
.live-dashboard{
  max-width:1200px;
  margin:0 auto;
  padding:24px 48px;
  position:relative;
}
.live-stats{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:1px;
  background:rgba(139,92,246,0.04);
  border-radius:16px;
  overflow:hidden;
  position:relative;
  z-index:1;
}
.live-stat{
  background:var(--card);
  padding:36px 24px;
  text-align:center;
  position:relative;
}
.live-dot{
  display:inline-block;
  width:8px;
  height:8px;
  border-radius:50%;
  background:#22c55e;
  margin-right:8px;
  animation:pulse-dot 2s ease-in-out infinite;
  vertical-align:middle;
}
@keyframes pulse-dot{
  0%, 100%{opacity:1}
  50%{opacity:0.3}
}
.live-stat-num{
  font-family:'Instrument Serif', serif;
  font-size:42px;
  font-weight:400;
  letter-spacing:-1px;
  color:var(--white);
  margin-bottom:4px;
}
.live-stat-label{
  font-size:13px;
  color:var(--t3);
  letter-spacing:-0.2px;
}
.live-stat-source{
  font-family:'JetBrains Mono', monospace;
  font-size:10px;
  color:var(--t4);
  margin-top:6px;
  text-transform:uppercase;
  letter-spacing:0.5px;
}
.live-updated{
  text-align:center;
  font-family:'JetBrains Mono', monospace;
  font-size:11px;
  color:var(--t4);
  margin-top:12px;
}

/* Architecture Diagram (behind live stats) */
.arch-diagram{
  position:absolute;
  inset:0;
  z-index:0;
  opacity:0.3;
  pointer-events:none;
}
.arch-diagram svg{
  width:100%;
  height:100%;
}
.arch-diagram text{
  font-size:8px;
}

/* Revenue Chart */
.revenue-chart{
  width:100%;
  max-width:100%;
  min-height:160px;
  height:auto;
  margin-top:20px;
}
.revenue-line{
  stroke-dasharray:1;
  stroke-dashoffset:1;
  transition:stroke-dashoffset 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.revenue-chart.animated .revenue-line{
  stroke-dashoffset:0;
}
.revenue-dot{
  opacity:0;
  transition:opacity 0.3s 1.4s;
}
.revenue-chart.animated .revenue-dot{
  opacity:1;
}

/* Content Pipeline Flow */
.pipeline-flow{
  display:flex;
  align-items:center;
  gap:0;
  margin-top:20px;
  overflow-x:auto;
}
.pipeline-node{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:6px;
  flex-shrink:0;
}
.pipeline-dot{
  width:20px;
  height:20px;
  border-radius:50%;
  background:var(--accent-mid);
  opacity:0.4;
}
.pipeline-node.active .pipeline-dot{
  opacity:0.7;
}
.pipeline-node.glow .pipeline-dot{
  opacity:1;
  box-shadow:0 0 12px rgba(139, 92, 246, 0.5);
}
.pipeline-label{
  font-family:'JetBrains Mono', monospace;
  white-space:nowrap;
  font-size:12px;
  color:var(--t3);
  letter-spacing:0.5px;
  text-transform:uppercase;
}
.pipeline-line{
  width:32px;
  height:1px;
  background:linear-gradient(90deg, var(--accent-start), var(--accent-mid));
  opacity:0.3;
  flex-shrink:0;
}

/* Two-sided proof */
.proof-grid{
  display:grid;
  grid-template-columns:repeat(2, 1fr);
  gap:16px;
  max-width:1200px;
  margin:0 auto;
}
.proof-card{
  background:var(--card);
  border:1px solid rgba(139,92,246,0.08);
  border-radius:14px;
  padding:32px 28px;
  transition:background 0.3s, transform 0.2s;
  box-shadow:inset 0 1px 0 rgba(232,236,248,0.03);
}
.proof-card:hover{
  background:var(--card-hover);
}
.proof-label{
  font-family:'JetBrains Mono', monospace;
  font-size:12px;
  color:var(--lime);
  text-transform:uppercase;
  letter-spacing:1px;
  margin-bottom:20px;
}
.proof-title{
  font-family:'Instrument Serif', Georgia, serif;
  font-size:28px;
  font-weight:400;
  letter-spacing:-1px;
  color:var(--white);
  margin-bottom:16px;
}
.proof-text{
  font-size:15px;
  color:var(--t2);
  line-height:1.6;
  letter-spacing:-0.3px;
}
.proof-text strong{
  color:var(--white);
  font-weight:600;
}

/* Call My AI */
.call-section{
  max-width:1200px;
  margin:0 auto;
  padding:80px 48px;
  text-align:center;
  position:relative;
}
.call-section::before{
  content:'';
  position:absolute;inset:0;
  background:
    radial-gradient(ellipse 60% 80% at 50% 40%, rgba(139,92,246,0.03) 0%, transparent 60%),
    radial-gradient(ellipse 40% 50% at 30% 60%, rgba(59,130,246,0.02) 0%, transparent 50%);
  pointer-events:none;
}
.call-number{
  font-family:'Instrument Serif', Georgia, serif;
  font-size:clamp(32px, 4vw, 56px);
  font-weight:400;
  letter-spacing:-1.5px;
  color:var(--white);
  margin:24px 0;
}
.call-number a{
  color:var(--white);
  text-decoration:none;
  border-bottom:2px solid rgba(139,92,246,0.3);
  transition:border-color 0.2s;
}
.call-number a:hover{
  border-color:var(--lime);
}
.call-desc{
  font-size:16px;
  color:var(--t2);
  max-width:600px;
  margin:0 auto 32px;
  line-height:1.6;
}
.call-transcript{
  max-width:500px;
  margin:0 auto;
  text-align:left;
  background:var(--card);
  border-radius:14px;
  padding:24px 28px;
  font-size:14px;
  line-height:1.7;
}
.call-transcript .ai-line{
  color:var(--lime);
  margin-bottom:8px;
}
.call-transcript .caller-line{
  color:var(--t2);
  margin-bottom:8px;
}
.call-transcript-label{
  font-family:'JetBrains Mono', monospace;
  font-size:11px;
  color:var(--t4);
  text-transform:uppercase;
  letter-spacing:0.5px;
  margin-bottom:16px;
}

/* Services preview */
.services-preview{
  max-width:1200px;
  margin:0 auto;
  padding:80px 48px;
}
.services-grid{
  display:grid;
  grid-template-columns:repeat(2, 1fr);
  gap:16px;
  margin-top:32px;
}
.service-card{
  background:var(--card);
  border:1px solid rgba(139,92,246,0.08);
  border-radius:14px;
  padding:36px 32px;
  transition:background 0.3s, transform 0.2s;
  box-shadow:inset 0 1px 0 rgba(232,236,248,0.03);
}
.service-card:hover{
  background:var(--card-hover);
}
.service-name{
  font-family:'Pixelify Sans', monospace;
  font-size:20px;
  color:var(--lime);
  margin-bottom:4px;
}
.service-timeline{
  font-size:14px;
  color:var(--t3);
  margin-bottom:16px;
}
.service-desc{
  font-size:15px;
  color:var(--t2);
  line-height:1.55;
  max-width:640px;
}

/* ===========================
   RESPONSIVE
   =========================== */
@media(max-width:768px){
  .nav{padding:12px 20px}
  .nav-link-text{display:none}
  .nav-links{background:none;border:none;backdrop-filter:none;-webkit-backdrop-filter:none;padding:0}
  .hero{min-height:65vh;padding-bottom:60px}
  .hero-content{padding:24px 20px 0;flex-direction:column !important}
  .hero-mockup{display:none !important}
  .call-section{flex-direction:column !important;text-align:center !important;padding:60px 20px !important}
  .call-section h2{text-align:center !important}
  .call-section .call-number{text-align:center !important}
  .call-section img{width:200px !important;margin:0 auto}
  .hero .sub{font-size:17px}
  .stats-wrapper{padding:24px 20px}
  .stats{grid-template-columns:repeat(2,1fr)}
  .section{padding:60px 20px}
  .statement{padding:48px 20px}
  .section{padding:48px 20px}
  .grid-2,.grid-3{grid-template-columns:1fr}
  .items{grid-template-columns:1fr}
  .item{padding:8px 10px;margin:-4px -10px}
  .item-steps{padding:10px 0 4px 12px}
  .cat{padding:20px 24px}
  .card{padding:20px 24px}
  .result{padding:24px}
  .cat-header{flex-direction:row}
  .live-stats{grid-template-columns:repeat(2, 1fr)}
  .proof-grid{grid-template-columns:1fr}
  .services-grid{grid-template-columns:1fr}
  .call-section{padding:60px 20px}
  .call-number{font-size:28px}
  .live-dashboard{padding:24px 20px}
  .arch-diagram{display:none}
  .section-tinted{margin-left:-20px;margin-right:-20px;padding-left:20px;padding-right:20px}
  .timeline-grid{grid-template-columns:48px 2px 1fr !important}
  .timeline-num{font-size:32px !important}
  .stipple-icon { width: 56px; height: 56px; }
  .cat-header .stipple-icon { width: 44px; height: 44px; }
  .card-with-icon { gap: 14px; }
}

/* Section background image */
.section-bg{position:relative}
.section-bg::before{
  content:'';
  position:absolute;inset:0;
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
  opacity:0.07;
  pointer-events:none;
  border-radius:14px;
}
.section-bg-network::before{background-image:url('section-network.jpg')}
.section-bg-geometric::before{background-image:url('section-geometric.jpg')}

/* 3D Tilt + Spotlight */
.card, .result, .proof-card, .service-card, .live-stat {
  transform-style: preserve-3d;
  perspective: 1000px;
}
.tilt-spotlight {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
  z-index: 1;
}
.card:hover .tilt-spotlight,
.result:hover .tilt-spotlight,
.proof-card:hover .tilt-spotlight,
.service-card:hover .tilt-spotlight,
.live-stat:hover .tilt-spotlight {
  opacity: 1;
}

/* Stipple icons */
.stipple-icon {
  width: 80px;
  height: 80px;
  border-radius: 10px;
  object-fit: cover;
  opacity: 0.9;
  flex-shrink: 0;
  filter: brightness(0.9);
}
.cat-header .stipple-icon {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  opacity: 0.5;
}

/* Card with icon layout */
.card-with-icon {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.card-with-icon .card-body {
  flex: 1;
  min-width: 0;
}

/* Accent wash backgrounds */
.accent-wash {
  position: relative;
}
.accent-wash::before {
  content: '';
  position: absolute;
  inset: -100px;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.04;
  pointer-events: none;
  z-index: 0;
}
.accent-wash-blue::before {
  background-image: url('img/accent-wash-1.jpg');
}
.accent-wash-violet::before {
  background-image: url('img/accent-wash-2.jpg');
}
.accent-wash > * {
  position: relative;
  z-index: 1;
}

/* Section tinted full-bleed */
.section-tinted{
  background:rgba(139,92,246,0.025);
  margin-left:calc(-50vw + 50%);
  margin-right:calc(-50vw + 50%);
  padding-left:calc(50vw - 50% + 48px);
  padding-right:calc(50vw - 50% + 48px);
}

/* Section gradient border */
.section-gradient-border{
  border-top:1px solid transparent;
  border-image:linear-gradient(90deg, transparent 10%, rgba(139,92,246,0.15) 50%, transparent 90%) 1;
}

/* Blockquote accent */
/* Alternating card borders in grid-3 */
.grid-3 .card:nth-child(odd){border-left:3px solid var(--accent-start)}
.grid-3 .card:nth-child(even){border-left:3px solid var(--accent-end)}

/* Blockquote accent */
.blockquote-accent{
  border-left:3px solid;
  border-image:var(--gradient) 1;
  padding:24px 0 24px 32px;
  font-size:17px;
  color:var(--t2);
  line-height:1.7;
  background:none;
  margin-bottom:32px;
}
.blockquote-accent strong{
  color:var(--white);
  display:block;
  font-family:'Instrument Serif',serif;
  font-size:22px;
  font-weight:400;
  letter-spacing:-0.5px;
  margin-bottom:8px;
}

/* Form inputs */
input[type="text"],input[type="email"],form textarea{
  background:var(--card);
  border:1px solid rgba(139,92,246,0.08);
  border-radius:10px;
  color:var(--t1);
  font-family:'Instrument Sans',sans-serif;
  font-size:15px;
  padding:14px 16px;
  width:100%;
  transition:border-color 0.2s;
  -webkit-appearance:none;
}
input[type="text"]:focus,input[type="email"]:focus,form textarea:focus{
  outline:none;
  border-color:rgba(139,92,246,0.25);
}
input[type="text"]::placeholder,input[type="email"]::placeholder,form textarea::placeholder{
  color:var(--t3);
}
form textarea{
  resize:vertical;
  line-height:1.55;
  min-height:100px;
}

/* Reduced motion */
@media(prefers-reduced-motion:reduce){
  .reveal{
    opacity:1;
    transform:none;
    transition:none;
  }
  .ticker-track{animation:none}
  html{scroll-behavior:auto}
}
