/*
  Cutline Compliance Website v3.0 — Intelligence Experience Layer
  Extends the controlled v2.3 light corporate system; does not replace it.
*/

:root{
  --v3-red:#C8102E;
  --v3-black:#111111;
  --v3-ink:#202329;
  --v3-muted:#60656c;
  --v3-line:#daddE2;
  --v3-soft:#f6f6f7;
  --v3-white:#ffffff;
}

/* HERO — editorial scale + signature intelligence visual */
.hero{
  padding-top:5.7rem;
  padding-bottom:4.8rem;
}

.hero-grid{
  grid-template-columns:minmax(0,.92fr) minmax(520px,1.08fr);
  gap:3.25rem;
}

.hero-copy h1{
  max-width:770px;
  font-size:clamp(3.3rem,5.25vw,5.15rem);
  line-height:.98;
  letter-spacing:-.055em;
  text-wrap:balance;
}

.hero-copy .lead{
  max-width:720px;
  font-size:1.08rem;
  line-height:1.7;
}

.intelligence-map-panel{
  position:relative;
  overflow:hidden;
  padding:1.2rem 1.25rem 1rem;
  background:
    radial-gradient(circle at 78% 26%,rgba(200,16,46,.20),transparent 34%),
    linear-gradient(145deg,#101113 0%,#18191c 58%,#0f1012 100%);
  border:1px solid #2d3035;
  border-radius:20px;
  box-shadow:0 24px 62px rgba(17,17,17,.17);
}

.intelligence-map-panel::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  opacity:.22;
  background-image:
    linear-gradient(rgba(255,255,255,.06) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.06) 1px,transparent 1px);
  background-size:38px 38px;
  mask-image:linear-gradient(to bottom,rgba(0,0,0,.8),transparent 92%);
}

.v3-map-header,
.v3-map-note,
.cutline-signal-map{
  position:relative;
  z-index:1;
}

.v3-map-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1rem;
  padding:.1rem .15rem .9rem;
  border-bottom:1px solid rgba(255,255,255,.10);
}

.v3-map-kicker{
  color:#fff;
  font-size:.78rem;
  font-weight:900;
  letter-spacing:.15em;
}

.v3-map-status{
  display:inline-flex;
  align-items:center;
  gap:.4rem;
  color:#d9dde3;
  font-size:.68rem;
  font-weight:800;
  letter-spacing:.09em;
  text-transform:uppercase;
}

.v3-map-status::before{
  content:"";
  width:7px;
  height:7px;
  border-radius:999px;
  background:#ff5b73;
  box-shadow:0 0 0 5px rgba(200,16,46,.13);
}

.cutline-signal-map{
  display:block;
  width:100%;
  height:auto;
  margin:.55rem auto .15rem;
}

.cutline-signal-map .map-label{
  fill:#f7f8fa;
  font-family:Aptos,Arial,Helvetica,sans-serif;
  font-weight:800;
  letter-spacing:.04em;
}

.cutline-signal-map .map-micro{
  fill:#aeb5bf;
  font-family:Aptos,Arial,Helvetica,sans-serif;
  font-weight:700;
  letter-spacing:.08em;
}

.cutline-signal-map .map-node{
  fill:#1b1d20;
  stroke:#444950;
  stroke-width:1.5;
}

.cutline-signal-map .map-node-accent{
  fill:#261217;
  stroke:#C8102E;
  stroke-width:1.6;
}

.cutline-signal-map .map-node-intelligence{
  fill:#f7f7f8;
  stroke:#fff;
  stroke-width:1.5;
}

.cutline-signal-map .map-node-intelligence + text,
.cutline-signal-map .map-dark-label{
  fill:#111;
}

.cutline-signal-map .signal-path{
  fill:none;
  stroke:#7a8088;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-dasharray:7 8;
  opacity:.84;
  animation:v3PathReveal 1.05s ease both;
}

.cutline-signal-map .signal-path.accent{
  stroke:#e84a61;
  stroke-width:2.2;
}

.cutline-signal-map .path-delay-1{animation-delay:.12s}
.cutline-signal-map .path-delay-2{animation-delay:.25s}
.cutline-signal-map .path-delay-3{animation-delay:.38s}
.cutline-signal-map .path-delay-4{animation-delay:.56s}

.cutline-signal-map .signal-dot{
  fill:#d8dce2;
  opacity:.88;
  transform-origin:center;
  animation:v3SignalIn .7s ease both;
}

.cutline-signal-map .signal-dot.red{fill:#ff5b73}
.cutline-signal-map .dot-delay-1{animation-delay:.2s}
.cutline-signal-map .dot-delay-2{animation-delay:.34s}
.cutline-signal-map .dot-delay-3{animation-delay:.48s}
.cutline-signal-map .dot-delay-4{animation-delay:.64s}

.cutline-signal-map .cutline-divider{
  stroke:#C8102E;
  stroke-width:2;
  opacity:.9;
}

.cutline-signal-map .cutline-label{
  fill:#ff6b7e;
  font-family:Aptos,Arial,Helvetica,sans-serif;
  font-size:11px;
  font-weight:900;
  letter-spacing:.18em;
}

.v3-map-note{
  margin:.25rem .2rem 0;
  padding-top:.75rem;
  border-top:1px solid rgba(255,255,255,.10);
  color:#aeb5bf;
  font-size:.72rem;
  line-height:1.45;
}

@keyframes v3PathReveal{
  from{opacity:0;stroke-dashoffset:48}
  to{opacity:.84;stroke-dashoffset:0}
}

@keyframes v3SignalIn{
  from{opacity:0;transform:scale(.55)}
  to{opacity:.9;transform:scale(1)}
}

/* CURRENT INTELLIGENCE — tangible proof directly after the hero */
.v3-intelligence-feature{
  position:relative;
  padding:0 0 4.6rem;
  background:#fff;
}

.v3-intelligence-feature::before{
  content:"";
  position:absolute;
  top:0;
  left:0;
  right:0;
  height:1px;
  background:linear-gradient(90deg,transparent,#dfe1e5 18%,#dfe1e5 82%,transparent);
}

.v3-intelligence-label{
  display:flex;
  align-items:center;
  gap:.8rem;
  padding:1.45rem 0 1rem;
  color:#555b63;
  font-size:.76rem;
  font-weight:900;
  letter-spacing:.14em;
  text-transform:uppercase;
}

.v3-intelligence-label span{
  display:grid;
  place-items:center;
  width:28px;
  height:28px;
  border:1px solid rgba(200,16,46,.38);
  border-radius:999px;
  color:#8f0b21;
  background:#fff7f8;
  letter-spacing:0;
}

.v3-intelligence-grid{
  display:grid;
  grid-template-columns:minmax(0,1.42fr) minmax(320px,.58fr);
  gap:1.35rem;
}

.v3-publication-spotlight{
  position:relative;
  overflow:hidden;
  min-height:405px;
  padding:2.2rem 2.25rem;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  background:
    radial-gradient(circle at 88% 18%,rgba(200,16,46,.30),transparent 32%),
    linear-gradient(145deg,#101113,#191a1d 68%,#111214);
  border:1px solid #26292e;
  border-radius:18px;
  box-shadow:0 18px 48px rgba(17,17,17,.12);
  color:#fff;
}

.v3-publication-spotlight::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:linear-gradient(90deg,rgba(255,255,255,.035) 1px,transparent 1px);
  background-size:54px 100%;
  opacity:.35;
}

.v3-publication-content,
.v3-publication-actions{
  position:relative;
  z-index:1;
}

.v3-publication-kicker{
  margin:0 0 .9rem;
  color:#ff7587;
  font-size:.75rem;
  font-weight:900;
  letter-spacing:.14em;
  text-transform:uppercase;
}

.v3-publication-spotlight h2{
  max-width:820px;
  margin:0 0 1rem;
  color:#fff;
  font-size:clamp(2rem,3.2vw,3.3rem);
  line-height:1.02;
  letter-spacing:-.035em;
  text-wrap:balance;
}

.v3-publication-spotlight .v3-publication-summary{
  max-width:820px;
  margin:0;
  color:#d2d6dc;
  font-size:1rem;
  line-height:1.65;
}

.v3-evidence-tags{
  display:flex;
  flex-wrap:wrap;
  gap:.55rem;
  margin:1.35rem 0 0;
}

.v3-evidence-tags span{
  display:inline-flex;
  align-items:center;
  gap:.4rem;
  padding:.42rem .68rem;
  border:1px solid rgba(255,255,255,.15);
  border-radius:999px;
  color:#e8eaee;
  background:rgba(255,255,255,.055);
  font-size:.76rem;
  font-weight:800;
}

.v3-evidence-tags span::before{
  content:"";
  width:6px;
  height:6px;
  border-radius:999px;
  background:#ff657a;
}

.v3-publication-actions{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:1rem;
  margin-top:2rem;
}

.v3-publication-actions .btn-primary{
  background:#C8102E;
  border-color:#C8102E;
}

.v3-publication-download{
  color:#fff;
  font-weight:850;
  text-decoration:none;
  border-bottom:1px solid rgba(255,255,255,.34);
}

.v3-publication-download:hover,
.v3-publication-download:focus-visible{
  color:#fff;
  border-bottom-color:#fff;
}

.v3-intelligence-method{
  padding:1.75rem;
  border:1px solid #d9dce1;
  border-top:4px solid #C8102E;
  border-radius:18px;
  background:#fff;
  box-shadow:0 10px 28px rgba(17,17,17,.055);
}

.v3-intelligence-method .eyebrow{
  margin-bottom:.55rem;
}

.v3-intelligence-method h2{
  margin:.1rem 0 1.15rem;
  font-size:1.72rem;
  line-height:1.08;
  letter-spacing:-.025em;
}

.v3-method-step{
  display:grid;
  grid-template-columns:34px minmax(0,1fr);
  gap:.8rem;
  padding:.92rem 0;
  border-top:1px solid #e5e7ea;
}

.v3-method-step:first-of-type{
  border-top:0;
}

.v3-method-step > span{
  display:grid;
  place-items:center;
  width:30px;
  height:30px;
  border-radius:8px;
  background:#f5f5f5;
  color:#7f0c1e;
  font-size:.7rem;
  font-weight:900;
}

.v3-method-step strong{
  display:block;
  margin-bottom:.12rem;
  color:#111;
  font-size:.95rem;
}

.v3-method-step p{
  margin:0;
  color:#60656c;
  font-size:.87rem;
  line-height:1.48;
}

.v3-method-note{
  margin:.9rem 0 0;
  padding-top:.9rem;
  border-top:1px solid #e5e7ea;
  color:#6b7077;
  font-size:.76rem;
  line-height:1.45;
}

/* Existing architecture gets a subtle systems-flow cue rather than more cards. */
.products-section .product-grid{
  position:relative;
}

@media (min-width:921px){
  .products-section .product-grid::before{
    content:"";
    position:absolute;
    z-index:0;
    top:31px;
    left:16.5%;
    right:16.5%;
    height:1px;
    background:linear-gradient(90deg,rgba(200,16,46,.15),rgba(200,16,46,.72),rgba(200,16,46,.15));
  }
  .products-section .product-card{
    position:relative;
    z-index:1;
  }
}

/* Later intelligence section now reads as a methodology/evidence layer. */
.v3-intelligence-standard{
  display:grid;
  gap:.75rem;
  margin-top:.45rem;
}

.v3-standard-row{
  display:grid;
  grid-template-columns:14px 1fr;
  gap:.7rem;
  align-items:start;
  padding:.72rem 0;
  border-bottom:1px solid #e5e7ea;
}

.v3-standard-row:last-child{border-bottom:0}

.v3-standard-dot{
  width:9px;
  height:9px;
  margin-top:.36rem;
  border-radius:999px;
  background:#C8102E;
  box-shadow:0 0 0 4px rgba(200,16,46,.08);
}

.v3-standard-row strong{
  display:block;
  color:#111;
  font-size:.92rem;
}

.v3-standard-row p{
  margin:.16rem 0 0;
  color:#62666d;
  font-size:.85rem;
  line-height:1.48;
}

/* First-load motion is intentionally finite. */
.v3-intelligence-feature{
  animation:v3SectionIn .75s ease .12s both;
}

@keyframes v3SectionIn{
  from{opacity:0;transform:translateY(10px)}
  to{opacity:1;transform:translateY(0)}
}

@media (max-width:1100px){
  .hero-grid{
    grid-template-columns:minmax(0,1fr) minmax(440px,.95fr);
    gap:2rem;
  }
  .hero-copy h1{
    font-size:clamp(3rem,5vw,4.35rem);
  }
}

@media (max-width:920px){
  .hero{
    padding-top:4rem;
  }
  .hero-grid,
  .v3-intelligence-grid{
    grid-template-columns:1fr;
  }
  .hero-grid{
    gap:2.2rem;
  }
  .intelligence-map-panel{
    max-width:760px;
    margin-inline:auto;
  }
  .v3-publication-spotlight{
    min-height:360px;
  }
}

@media (max-width:620px){
  .hero{
    padding-top:3rem;
    padding-bottom:3.3rem;
  }
  .hero-copy h1{
    font-size:clamp(2.7rem,13vw,3.75rem);
    line-height:1;
    letter-spacing:-.045em;
  }
  .hero-copy .lead{
    font-size:1rem;
  }
  .intelligence-map-panel{
    padding:.85rem .75rem .8rem;
    border-radius:16px;
  }
  .v3-map-header{
    align-items:flex-start;
    flex-direction:column;
    gap:.35rem;
  }
  .v3-map-status{
    font-size:.62rem;
  }
  .v3-intelligence-feature{
    padding-bottom:3.25rem;
  }
  .v3-publication-spotlight{
    min-height:0;
    padding:1.55rem 1.35rem;
  }
  .v3-publication-spotlight h2{
    font-size:clamp(1.8rem,9vw,2.5rem);
  }
  .v3-publication-actions{
    align-items:flex-start;
    flex-direction:column;
  }
  .v3-intelligence-method{
    padding:1.35rem;
  }
}

@media (prefers-reduced-motion:reduce){
  .cutline-signal-map .signal-path,
  .cutline-signal-map .signal-dot,
  .v3-intelligence-feature{
    animation:none!important;
  }
}
