/* ============================================
   SILVERLINE DIGITAL — design tokens
   ============================================ */
:root{
  --ink:        #0B0D10;
  --ink-soft:   #14171C;
  --ink-line:   #23272E;
  --paper:      #F5F4F0;
  --paper-dim:  #EAE8E2;
  --steel-100:  #E7EBEF;
  --steel-300:  #C7D0D9;
  --steel-500:  #8B96A3;
  --steel-700:  #5B6572;
  --white:      #FFFFFF;

  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, monospace;

  --line-gradient: linear-gradient(90deg, transparent, var(--steel-500) 12%, var(--white) 50%, var(--steel-500) 88%, transparent);

  --container: 1180px;
}

*{ box-sizing:border-box; margin:0; padding:0; }
html{ scroll-behavior:smooth; }
body{
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ list-style:none; }

@media (prefers-reduced-motion: reduce){
  *{ animation-duration:0.01ms !important; animation-iteration-count:1 !important; transition-duration:0.01ms !important; scroll-behavior:auto !important; }
}

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

/* ---------- signature: the silverline ---------- */
.silverline{
  height: 2px;
  width: 100%;
  background: var(--line-gradient);
  position: relative;
  overflow: hidden;
}
.silverline::after{
  content:"";
  position:absolute; top:0; left:-40%;
  width:40%; height:100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.9), transparent);
  animation: shimmer 5s ease-in-out infinite;
}
@keyframes shimmer{
  0%{ left:-40%; }
  55%{ left:110%; }
  100%{ left:110%; }
}

/* ---------- header ---------- */
.site-header{
  position: sticky; top:0; z-index: 50;
  background: rgba(11,13,16,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--ink-line);
}
.site-header .wrap{
  display:flex; align-items:center; justify-content:space-between;
  height:76px;
}
.logo{
  font-family: var(--font-display);
  font-size: 21px;
  color: var(--white);
  letter-spacing: 0.01em;
  display:flex; align-items:center; gap:10px;
}
.logo .dot{
  width:7px; height:7px; border-radius:50%;
  background: var(--steel-300);
  box-shadow: 0 0 10px 2px rgba(199,208,217,0.6);
}
.logo img{ height: 42px; width:auto; display:block; }
nav.main-nav ul{
  display:flex; gap:36px;
}
nav.main-nav a{
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--steel-500);
  transition: color .2s ease;
  padding: 6px 0;
  position: relative;
}
nav.main-nav a:hover, nav.main-nav a.active{
  color: var(--white);
}
nav.main-nav a.active::after{
  content:"";
  position:absolute; left:0; right:0; bottom:-2px; height:1px;
  background: var(--steel-300);
}
.nav-dropdown{ position:relative; }
.nav-dropdown > a::after{
  content:"\25BE";
  font-size: 8px;
  margin-left: 6px;
  opacity:.7;
  position:relative;
  top:-1px;
}
.dropdown-menu{
  position:absolute; top:100%; left:0;
  background: var(--ink-soft);
  border: 1px solid var(--ink-line);
  min-width: 220px;
  padding: 10px 0;
  border-radius: 2px;
  opacity:0; visibility:hidden; transform: translateY(-6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
  z-index: 60;
}
.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu{
  opacity:1; visibility:visible; transform: translateY(0);
}
.dropdown-menu a{
  display:block;
  padding: 10px 20px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--steel-500);
  white-space: nowrap;
}
.dropdown-menu a:hover{ color: var(--white); background: rgba(255,255,255,0.05); }
.nav-cta{
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--ink) !important;
  background: var(--steel-100);
  padding: 10px 18px;
  border-radius: 2px;
  transition: background .2s ease, transform .2s ease;
}
.nav-cta:hover{ background: var(--white); transform: translateY(-1px); }
.menu-toggle{ display:none; }

/* ---------- eyebrow / labels ---------- */
.eyebrow{
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--steel-500);
  display:flex; align-items:center; gap:10px;
  margin-bottom: 18px;
}
.eyebrow::before{
  content:"";
  width: 22px; height:1px;
  background: var(--steel-500);
}
.on-dark .eyebrow{ color: var(--steel-300); }

/* ---------- hero ---------- */
.hero{
  background: var(--ink);
  color: var(--white);
  padding: 96px 0 88px;
  position: relative;
}
.hero .wrap{ position:relative; }
.hero-grid{
  display:grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: end;
}
.hero h1{
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(40px, 5.2vw, 68px);
  line-height: 1.04;
  letter-spacing: -0.01em;
  color: var(--white);
}
.hero h1 em{
  font-style: italic;
  color: var(--steel-300);
}
.hero-sub{
  margin-top: 24px;
  font-size: 17px;
  color: var(--steel-300);
  max-width: 46ch;
  line-height:1.6;
}
.hero-media{
  border-radius: 3px;
  overflow: hidden;
  aspect-ratio: 4/5;
  position: relative;
  border: 1px solid var(--ink-line);
}
.hero-media img{ width:100%; height:100%; object-fit:cover; }
.hero-actions{
  margin-top: 40px;
  display:flex; align-items:center; gap:24px; flex-wrap:wrap;
}
.btn{
  display:inline-flex; align-items:center; gap:10px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 15px 26px;
  border-radius: 2px;
  transition: all .2s ease;
  border: 1px solid transparent;
}
.btn-primary{
  background: var(--white); color: var(--ink);
}
.btn-primary:hover{ background: var(--steel-300); transform: translateY(-1px); }
.btn-ghost{
  border-color: var(--ink-line); color: var(--steel-300);
}
.btn-ghost:hover{ border-color: var(--steel-300); color:var(--white); }
.btn-dark{ background: var(--ink); color: var(--white); }
.btn-dark:hover{ background:#000; transform: translateY(-1px); }

/* mantra line under hero */
.mantra{
  margin-top: 64px;
  padding-top: 32px;
  border-top: 1px solid var(--ink-line);
  display:flex; flex-wrap:wrap; gap: 10px 28px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .04em;
  color: var(--steel-500);
}
.mantra strong{ color: var(--white); font-weight:500; }
.mantra .sep{ color: var(--ink-line); }

/* ---------- sections ---------- */
section{ padding: 96px 0; }
.section-head{
  max-width: 640px;
  margin-bottom: 56px;
}
.section-head h2{
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(30px, 3.4vw, 44px);
  line-height:1.1;
  letter-spacing: -0.01em;
}
.section-head p{
  margin-top: 18px;
  color: var(--steel-700);
  font-size: 16px;
  line-height: 1.65;
}
.on-dark .section-head p{ color: var(--steel-300); }

.section-dark{ background: var(--ink); color: var(--white); }
.section-paper{ background: var(--paper); }
.section-dim{ background: var(--paper-dim); }

/* ---------- process (numbered — real sequence) ---------- */
.process{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--ink-line);
  border: 1px solid var(--ink-line);
}
.process-3{ grid-template-columns: repeat(3, 1fr); }
.process-step{
  background: var(--ink);
  padding: 40px 28px;
}
.process-num{
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--steel-500);
  margin-bottom: 28px;
}
.process-step h3{
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 12px;
}
.process-step p{
  font-size: 14.5px;
  color: var(--steel-500);
  line-height: 1.6;
}

/* ---------- service cards ---------- */
.cards{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--ink-line);
  border: 1px solid var(--ink-line);
}
.card{
  background: var(--paper);
  padding: 44px 34px;
  position:relative;
  transition: background .2s ease;
}
.card.featured{ background: var(--ink); color:var(--white); }
.card-tag{
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--steel-500);
  position:absolute; top: 44px; right: 34px;
}
.card.featured .card-tag{ color: var(--steel-300); }
.card h3{
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 25px;
  margin: 20px 0 14px;
  color: var(--ink);
}
.card.featured h3{ color: var(--white); }
.card p{
  color: var(--steel-700);
  font-size: 14.5px;
  line-height: 1.65;
  margin-bottom: 24px;
}
.card.featured p{ color: var(--steel-300); }
.card-list{ margin-bottom: 28px; }
.card-list li{
  font-size: 13.5px;
  color: var(--steel-700);
  padding: 9px 0;
  border-top: 1px solid var(--paper-dim);
  display:flex; gap:10px;
}
.card.featured .card-list li{ color: var(--steel-300); border-top: 1px solid var(--ink-line); }
.card-list li::before{ content:"—"; color: var(--steel-500); }

/* ---------- portfolio grid ---------- */
.portfolio-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.portfolio-grid.wide .p-item:first-child{
  grid-column: span 2;
}
.portfolio-grid.wide .p-item:nth-child(2){
  aspect-ratio: unset;
}
.p-item{
  position:relative;
  overflow:hidden;
  border-radius: 2px;
  aspect-ratio: 4/3;
}
.p-item img{
  width:100%; height:100%; object-fit:cover;
  transition: transform .5s ease;
}
.p-item:hover img{ transform: scale(1.05); }
.p-caption{
  position:absolute; left:0; right:0; bottom:0;
  padding: 20px;
  background: linear-gradient(0deg, rgba(0,0,0,.85) 15%, transparent);
  color: var(--white);
}
.p-caption .k{
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing:.08em;
  text-transform:uppercase;
  color: var(--steel-300);
  display:block; margin-bottom:4px;
}
.p-caption .t{ font-family: var(--font-display); font-size: 19px; text-shadow: 0 1px 4px rgba(0,0,0,.5); }

/* ---------- stats / why strip ---------- */
.stat-row{
  display:grid;
  grid-template-columns: repeat(4,1fr);
  border-top: 1px solid var(--ink-line);
  border-bottom: 1px solid var(--ink-line);
}
.stat{
  padding: 32px 28px;
  border-right: 1px solid var(--ink-line);
}
.stat:last-child{ border-right:none; }
.stat .n{
  font-family: var(--font-display);
  font-size: 34px;
  color: var(--white);
}
.stat .l{
  margin-top:6px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing:.06em;
  text-transform:uppercase;
  color: var(--steel-500);
}

/* ---------- pull quote ---------- */
.pull{
  font-family: var(--font-display);
  font-weight: 500;
  font-style: italic;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.3;
  max-width: 820px;
}

/* ---------- two-col split ---------- */
.split{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items:center;
}
.split img{ border-radius: 3px; width:100%; aspect-ratio: 5/6; object-fit:cover; }

/* ---------- form ---------- */
.form-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.field{ display:flex; flex-direction:column; gap:8px; margin-bottom: 22px; }
.field.full{ grid-column: 1 / -1; }
.field label{
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing:.06em;
  text-transform:uppercase;
  color: var(--steel-500);
}
.field input, .field select, .field textarea{
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--ink-line);
  padding: 12px 2px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--white);
  outline:none;
  transition: border-color .2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus{
  border-color: var(--steel-300);
}
.field select{ color: var(--white); }
.field select option{ background: var(--ink); }
.field textarea{ resize: vertical; min-height: 100px; }

/* ---------- FAQ ---------- */
.faq-list{ border-top: 1px solid var(--ink-line); max-width: 860px; }
.faq-item{ border-bottom: 1px solid var(--ink-line); }
.faq-item summary{
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 19px;
  color: var(--ink);
  padding: 26px 4px;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.faq-item summary::-webkit-details-marker{ display:none; }
.faq-item summary::after{
  content:"+";
  font-family: var(--font-mono);
  font-size: 20px;
  color: var(--steel-500);
  flex-shrink: 0;
}
.faq-item[open] summary::after{ content:"–"; }
.faq-item p{
  padding: 0 4px 26px;
  color: var(--steel-700);
  font-size: 15px;
  line-height: 1.7;
  max-width: 68ch;
}
.on-dark .faq-list{ border-top-color: var(--ink-line); }
.on-dark .faq-item{ border-bottom-color: var(--ink-line); }
.on-dark .faq-item summary{ color: var(--white); }
.on-dark .faq-item p{ color: var(--steel-300); }

/* ---------- testimonials ---------- */
.testimonial-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--ink-line);
  border: 1px solid var(--ink-line);
}
.testimonial{
  background: var(--ink);
  padding: 40px 34px;
  display:flex;
  flex-direction:column;
}
.testimonial p{
  font-family: var(--font-display);
  font-style: italic;
  font-size: 17px;
  line-height: 1.55;
  color: var(--white);
  margin-bottom: 24px;
}
.testimonial .cite{
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing:.06em;
  text-transform:uppercase;
  color: var(--steel-500);
  margin-top: auto;
}
.testimonial .cite strong{ color: var(--steel-300); font-weight:500; }

/* ---------- legal / policy pages ---------- */
.legal-content{ max-width: 760px; }
.legal-content h2{
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 25px;
  margin: 48px 0 16px;
}
.legal-content h2:first-child{ margin-top:0; }
.legal-content p{
  color: var(--steel-700);
  font-size: 15.5px;
  line-height: 1.75;
  margin-bottom: 16px;
}
.legal-content ul{ margin: 0 0 16px 0; }
.legal-content li{
  color: var(--steel-700);
  font-size: 15.5px;
  line-height: 1.75;
  padding-left: 20px;
  position: relative;
  margin-bottom: 8px;
}
.legal-content li::before{ content:"—"; position:absolute; left:0; color: var(--steel-500); }
.legal-content a{ color: var(--ink); text-decoration: underline; }
.legal-content strong{ font-weight:600; color: var(--ink); }

/* ---------- feature grid (service sub-pages) ---------- */
.feature-grid{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--ink-line);
  border: 1px solid var(--ink-line);
}
.feature{
  background: var(--ink);
  padding: 30px 28px;
}
.feature h4{
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 17.5px;
  color: var(--white);
  margin-bottom: 10px;
}
.feature p{
  font-size: 13.5px;
  color: var(--steel-300);
  line-height: 1.65;
}

/* ---------- tool badges (data/analytics section) ---------- */
.tool-badges{ display:flex; flex-wrap:wrap; gap:12px; margin-top:20px; }
.tool-badge{
  display:inline-flex; align-items:center; gap:8px;
  padding: 10px 16px;
  border: 1px solid var(--ink-line);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .03em;
  color: var(--steel-300);
}
.tool-badge .dot{ width:6px; height:6px; border-radius:50%; background: var(--steel-500); flex-shrink:0; }
.tool-badge.premium{ border-color: var(--steel-300); color: var(--white); }
.tool-badge.premium .dot{ background: var(--steel-300); }
.data-tier-label{
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing:.08em;
  text-transform:uppercase;
  color: var(--steel-500);
  margin-bottom: 14px;
  display:block;
}

/* ---------- footer ---------- */
footer{
  background: var(--ink);
  color: var(--steel-500);
  padding: 64px 0 32px;
}
.footer-grid{
  display:grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}
.footer-logo{
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--white);
  margin-bottom: 14px;
}
.footer-logo img{ height: 38px; width:auto; display:block; }
.footer-col h4{
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing:.08em;
  text-transform:uppercase;
  color: var(--steel-300);
  margin-bottom: 16px;
}
.footer-col li{ margin-bottom: 10px; font-size: 14px; }
.footer-col a:hover{ color: var(--white); }
.footer-bottom{
  padding-top: 28px;
  border-top: 1px solid var(--ink-line);
  display:flex; justify-content:space-between;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing:.04em;
  flex-wrap:wrap; gap:12px;
}

/* ---------- closing CTA band ---------- */
.cta-band{
  background: var(--ink);
  color: var(--white);
  padding: 100px 0;
  text-align:center;
}
.cta-band h2{
  font-family: var(--font-display);
  font-weight:500;
  font-size: clamp(30px,4vw,50px);
  max-width: 780px;
  margin: 0 auto 36px;
  line-height:1.15;
}

/* ---------- utility ---------- */
.center{ text-align:center; margin-left:auto; margin-right:auto; }
.mt-lg{ margin-top:56px; }

/* ---------- page hero (interior pages) ---------- */
.page-hero{
  background: var(--ink); color: var(--white);
  padding: 72px 0 56px;
}
.page-hero h1{
  font-family: var(--font-display);
  font-weight:500;
  font-size: clamp(36px,4.6vw,58px);
  line-height:1.06;
  max-width: 780px;
}
.page-hero p{
  margin-top:20px;
  color: var(--steel-300);
  font-size:16.5px;
  max-width: 56ch;
}

/* ---------- responsive ---------- */
@media (max-width: 980px){
  nav.main-nav, .nav-cta{ display:none; }
  .menu-toggle{
    display:block; background:none; border:none; color:var(--white);
    font-family: var(--font-mono); font-size:12px; letter-spacing:.06em;
    text-transform:uppercase; cursor:pointer;
  }
  nav.main-nav ul{ flex-direction:column; align-items:flex-start; gap:18px; }
  .dropdown-menu{
    position:static; opacity:1; visibility:visible; transform:none;
    background:none; border:none; padding:8px 0 0 16px; min-width:0;
  }
  .nav-dropdown > a::after{ display:none; }
  section{ padding: 72px 0; }
  .hero{ padding: 56px 0 48px; }
  .page-hero{ padding: 48px 0 40px; }
  .hero-grid{ grid-template-columns: 1fr; gap:32px; }
  .hero-media{ aspect-ratio: 4/3; }
  .mantra{ margin-top:40px; padding-top:24px; }
  .process, .cards, .feature-grid{ grid-template-columns: 1fr; }
  .portfolio-grid{ grid-template-columns: 1fr 1fr; }
  .portfolio-grid.wide .p-item:first-child{ grid-column: span 2; }
  .portfolio-grid.wide .p-item:nth-child(2){ aspect-ratio: 4/3; }
  .stat-row{ grid-template-columns: 1fr 1fr; }
  .stat{ border-bottom: 1px solid var(--ink-line); }
  .split{ grid-template-columns: 1fr; gap:36px; }
  .form-grid{ grid-template-columns: 1fr; }
  .footer-grid{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px){
  .wrap{ padding: 0 20px; }
  section{ padding: 64px 0; }
  .portfolio-grid{ grid-template-columns: 1fr; }
  .portfolio-grid.wide .p-item:first-child{ grid-column: span 1; }
  .footer-grid{ grid-template-columns: 1fr; }
}
