@font-face { font-family: "Archivo Fallback"; src: local("Arial"), local("Helvetica"); size-adjust: 89%; ascent-override: 98%; descent-override: 24%; line-gap-override: 0%; }
@font-face { font-family: "Serif Fallback"; src: local("Georgia"), local("Times New Roman"); size-adjust: 88%; }
/* nasj.media — page sections. Extends hero.css. Same four colours only. */

.section { padding: 96px 0; }
.section.tight { padding: 64px 0; }

.on-merlot { background: var(--merlot); color: var(--ice-light); }
.on-light { background: var(--ice-light); color: var(--merlot); }

.eyebrow {
  font: 600 11px/1 Archivo, "Archivo Fallback", sans-serif;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ice);
  margin: 0;
}

.on-light .eyebrow { color: rgb(61 21 25 / .64); }

h2, h3 { margin: 0; font-weight: 300; letter-spacing: .1px; }

h2 {
  font: 300 clamp(30px, 3.4vw, 48px)/1.12 Archivo, "Archivo Fallback", sans-serif;
  max-width: 24ch;
}

h3 { font: 300 clamp(22px, 2vw, 28px)/1.12 Archivo, "Archivo Fallback", sans-serif; }

/* page title set as an h1 for search, styled exactly like a section h2 (how-we-work, contact) */
h1.h2 { margin: 0; font: 300 clamp(30px, 3.4vw, 48px)/1.12 Archivo, "Archivo Fallback", sans-serif; letter-spacing: .1px; max-width: 24ch; }

em.accent {
  font-family: "Instrument Serif", "Serif Fallback", Georgia, serif;
  font-style: italic;
  font-weight: 400;
  color: var(--ice);
}

.on-light em.accent { color: var(--merlot); opacity: .72; }

p { font: 300 17px/28px Archivo, "Archivo Fallback", sans-serif; margin: 0; max-width: 62ch; }
p.lead { font-size: 20px; line-height: 32px; }

/* Light type on a dark ground: a touch heavier and a touch dimmer reads calmer */
.on-merlot p, .site-footer p { font-weight: 400; color: rgb(215 228 238 / .84); }
.on-merlot h2, .on-merlot h3, .on-merlot h1.h2 { color: rgb(215 228 238 / .94); }

.muted { color: rgb(215 228 238 / .60); }
.on-light .muted { color: rgb(61 21 25 / .64); }

.stack { display: grid; gap: 24px; }
.stack.s16 { gap: 16px; }
.stack.s40 { gap: 40px; }

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

.center { text-align: center; justify-items: center; }
.center p { margin-left: auto; margin-right: auto; }

/* Cards */
.card {
  border-radius: 12px;
  padding: 32px;
  background: rgb(215 228 238 / .04);
  border: 1px solid rgb(148 177 200 / .10);
  display: grid;
  gap: 12px;
  align-content: start;
}

.on-light .card {
  background: rgb(61 21 25 / .03);
  border-color: rgb(61 21 25 / .09);
}

.card .num { font: 600 11px/1 Archivo, "Archivo Fallback", sans-serif; letter-spacing: .14em; color: var(--ice); }
.on-light .card .num { color: rgb(61 21 25 / .56); }

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

/* 06 Pillars — ice-light cards on merlot, each with a vignette */
.pillars {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}

.pillar {
  background: var(--ice-light);
  color: var(--merlot);
  border-radius: 16px;
  padding: 12px 12px 32px;
  display: grid;
  gap: 12px;
  align-content: start;
  transition: transform 240ms cubic-bezier(.22,.61,.36,1);
}

.pillar:hover { transform: translateY(-4px); }

.pillar > .pillar-num,
.pillar > h3,
.pillar > p { margin-left: 20px; margin-right: 20px; }

.pillar .pillar-num {
  font: italic 400 34px/1.05 "Instrument Serif", "Serif Fallback", Georgia, serif;
  color: rgb(61 21 25 / .5);
  margin-top: 16px;
}

.on-merlot .pillar h3 { color: var(--merlot); }
.on-merlot .pillar p { color: rgb(61 21 25 / .76); font-weight: 400; }

.pillar-art {
  border-radius: 10px;
  height: 396px;
  background: rgb(61 21 25 / .06);
  display: grid;
  place-items: center;
  padding: 18px;
  overflow: hidden;
}

/* One card style for all three vignettes: the morning email, the WhatsApp
   list and the rules. Same size, same anatomy. */
.vcard {
  width: 100%;
  max-width: 300px;
  height: 360px;
  box-sizing: border-box;
  background: rgb(255 255 255 / .72);
  border: 1px solid rgb(61 21 25 / .08);
  border-radius: 12px;
  padding: 14px 14px 12px;
  box-shadow: 0 18px 40px -22px rgb(61 21 25 / .55);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
  font-family: Archivo, "Archivo Fallback", sans-serif;
}

.v-head { display: flex; align-items: center; gap: 9px; }
.v-avatar {
  width: 28px; height: 28px; border-radius: 8px; background: var(--merlot);
  display: grid; place-items: center; flex: 0 0 auto;
}
.v-avatar img { width: 19px; height: auto; display: block; }
.v-who { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.v-who b { display: flex; justify-content: space-between; gap: 8px; font: 600 12px/1.2 Archivo, "Archivo Fallback", sans-serif; }
.v-who b i { font: 400 11px/1.2 Archivo, "Archivo Fallback", sans-serif; color: rgb(61 21 25 / .5); }
.v-who small { font: 400 11px/1.2 Archivo, "Archivo Fallback", sans-serif; color: rgb(61 21 25 / .56); }
.v-title { font: 600 14.5px/1.25 Archivo, "Archivo Fallback", sans-serif; letter-spacing: -.01em; }

.v-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; flex: 0 0 auto; }
.v-stat { border-radius: 10px; padding: 8px 10px 9px; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
/* each figure gets its own weight, so the row is not one grey block */
.v-stats .v-stat:nth-child(1) { background: rgb(61 21 25 / .10); }
.v-stats .v-stat:nth-child(2) { background: rgb(61 21 25 / .06); }
.v-stats .v-stat:nth-child(3) { background: rgb(61 21 25 / .04); }
.v-stat .g { display: inline-flex; align-items: center; gap: 2px; font: 700 10px/1 Archivo, "Archivo Fallback", sans-serif; }
.v-stat .g svg { width: 9px; height: 9px; }
.v-stat .g.up { color: #1E8E5A; }
.v-stat .g.down { color: #C0392B; }
.v-stat b { display: block; }
.v-stat .lab { display: contents; }
.v-stat .g { order: -1; align-self: flex-end; }
.v-stat i { order: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.v-stat i {
  font: 600 9.5px/1 Archivo, "Archivo Fallback", sans-serif; letter-spacing: .08em; text-transform: uppercase;
  color: rgb(61 21 25 / .52); font-style: normal;
}
.v-stat b { font: 600 17px/1 Archivo, "Archivo Fallback", sans-serif; letter-spacing: -.02em; white-space: nowrap; }
.v-stat b small { font: 400 9px/1 Archivo, "Archivo Fallback", sans-serif; margin-right: 2px; }
.v-note { font: 400 12px/1.5 Archivo, "Archivo Fallback", sans-serif; color: rgb(61 21 25 / .72); margin: 0; flex: 1; display: flex; align-items: center; }

/* secondary KPIs under the main three: one quiet 2x2 grid, no tiles */
.v-kpis { flex: 1; display: grid; grid-template-columns: 1fr 1fr; align-content: center; gap: 0 14px; }
.v-kpi { display: grid; grid-template-columns: minmax(0,1fr) auto; grid-template-rows: auto auto; column-gap: 6px; padding: 7px 0; border-top: 1px solid rgb(61 21 25 / .08); }
.v-kpi i { grid-column: 1 / -1; font: 500 9px/1.2 Archivo, "Archivo Fallback", sans-serif; letter-spacing: .06em; text-transform: uppercase; color: rgb(61 21 25 / .5); font-style: normal; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.v-kpi b { font: 600 13px/1.3 Archivo, "Archivo Fallback", sans-serif; letter-spacing: -.01em; }
.v-kpi .g { display: inline-flex; align-items: center; gap: 2px; font: 700 9.5px/1 Archivo, "Archivo Fallback", sans-serif; align-self: center; }
.v-kpi .g svg { width: 8px; height: 8px; }
.v-kpi .g.up { color: #1E8E5A; }
.v-kpi .g.bad { color: #C0392B; }
/* 01 — campaign ideas: a feed where a new idea arrives on top */
.idea-feed { flex: 1; min-height: 0; overflow: hidden; display: flex; flex-direction: column; gap: 7px; -webkit-mask-image: linear-gradient(#000 58%, transparent 88%); mask-image: linear-gradient(#000 58%, transparent 88%); }
.idea { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 9px 10px; border-radius: 9px; background: rgb(61 21 25 / .05); }
.idea b { font: 600 12px/1.35 Archivo, "Archivo Fallback", sans-serif; letter-spacing: -.01em; }
.idea i.chip { font: 700 8.5px/1 Archivo, "Archivo Fallback", sans-serif; font-style: normal; letter-spacing: .06em; text-transform: uppercase; padding: 4px 6px; border-radius: 4px; color: var(--merlot); }
/* one light shade per signal: the card takes the pale tint, the chip a deeper one */
.idea.t-moment   { background: #F6E3E1; } .idea i.chip.moment   { background: #E9C2BE; }
.idea.t-rival    { background: #E1ECF4; } .idea i.chip.rival    { background: #BFD5E6; }
.idea.t-customer { background: #E2F0E6; } .idea i.chip.customer { background: #BEDDC7; }
.idea.t-trend    { background: #F6EDD7; } .idea i.chip.trend    { background: #E9D5A6; }
.idea.t-season   { background: #ECE5F3; } .idea i.chip.season   { background: #D3C6E6; }
.idea.arrive { animation: nasjArrive 650ms cubic-bezier(.22,.61,.36,1) both; }
@keyframes nasjArrive { from { opacity: 0; transform: translateY(-16px); max-height: 0; padding-block: 0; } to { opacity: 1; transform: none; max-height: 90px; } }

/* 02 — ad volume: a count, then a grid of real ads that keeps refreshing */
.v-count { display: flex; align-items: center; gap: 10px; }
.v-count b { font: 600 34px/1 Archivo, "Archivo Fallback", sans-serif; letter-spacing: -.03em; }
.v-count > span { display: flex; flex-direction: column; gap: 3px; font: 600 12.5px/1.2 Archivo, "Archivo Fallback", sans-serif; }
.v-count i { font: 400 10.5px/1.2 Archivo, "Archivo Fallback", sans-serif; font-style: normal; color: rgb(61 21 25 / .56); }
.ad-grid { flex: 1; min-height: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 6px; }
.ag-cell { position: relative; border-radius: 6px; overflow: hidden; background: rgb(61 21 25 / .08); opacity: 0; transform: scale(.86); }
.ag-cell img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; transition: opacity 500ms ease; }
.pillars-sec.in .ag-cell { animation: nasjCell 520ms cubic-bezier(.22,.61,.36,1) forwards; }
.pillars-sec.in .ag-cell:nth-child(1) { animation-delay: 500ms; }
.pillars-sec.in .ag-cell:nth-child(2) { animation-delay: 620ms; }
.pillars-sec.in .ag-cell:nth-child(3) { animation-delay: 740ms; }
.pillars-sec.in .ag-cell:nth-child(4) { animation-delay: 860ms; }
.pillars-sec.in .ag-cell:nth-child(5) { animation-delay: 980ms; }
.pillars-sec.in .ag-cell:nth-child(6) { animation-delay: 1100ms; }
@keyframes nasjCell { to { opacity: 1; transform: none; } }
.ag-cell.swap { animation: nasjSwap 700ms cubic-bezier(.22,.61,.36,1) !important; opacity: 1; transform: none; }
@keyframes nasjSwap { 0% { transform: scale(1); } 40% { transform: scale(.9); } 100% { transform: scale(1); } }
.ag-cell .new { position: absolute; top: 5px; left: 5px; z-index: 2; font: 700 8.5px/1 Archivo, "Archivo Fallback", sans-serif; letter-spacing: .04em; padding: 3px 5px; border-radius: 4px; background: var(--merlot); color: var(--ice-light); animation: nasjTag 1600ms ease forwards; }
@keyframes nasjTag { 0%, 70% { opacity: 1; } 100% { opacity: 0; } }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: #1E8E5A; box-shadow: 0 0 0 0 rgb(30 142 90 / .5); animation: nasjLive 1.6s ease-out infinite; }
@keyframes nasjLive { to { box-shadow: 0 0 0 6px rgb(30 142 90 / 0); } }

.v-rows { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.v-row {
  background: rgb(61 21 25 / .05); border-radius: 8px; padding: 8px 9px;
  display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 9px;
  font: 400 11.5px/1.35 Archivo, "Archivo Fallback", sans-serif;
}
.v-row .t { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.v-row b { font: 600 12.5px/1.35 Archivo, "Archivo Fallback", sans-serif; letter-spacing: -.01em; }
.v-row .t small { font: 400 10.5px/1.3 Archivo, "Archivo Fallback", sans-serif; color: rgb(61 21 25 / .58); }
.v-row i.n {
  width: 17px; height: 17px; border-radius: 9px; background: var(--merlot); color: var(--ice-light);
  font: 600 10px/1 Archivo, "Archivo Fallback", sans-serif; font-style: normal;
  display: grid; place-items: center; flex: 0 0 auto;
}
.v-row.rule { grid-template-columns: 58px minmax(0, 1fr); }
.v-row i.chip {
  justify-self: start; font: 600 10.5px/1 Archivo, "Archivo Fallback", sans-serif; font-style: normal;
  padding: 4px 8px; border-radius: 999px;
}
.v-row i.chip.kill { border: 1px solid rgb(61 21 25 / .4); color: var(--merlot); }
.v-row i.chip.scale { background: var(--ice); color: var(--merlot); }
.v-row i.chip.restock { background: var(--merlot); color: var(--ice-light); }

.v-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding-top: 9px; border-top: 1px solid rgb(61 21 25 / .08);
  font: 400 11px/1.2 Archivo, "Archivo Fallback", sans-serif;
}
.v-foot-l { display: flex; align-items: center; gap: 6px; font-weight: 600; }
.v-foot-l svg { width: 14px; height: 14px; }
.v-foot-r { color: rgb(61 21 25 / .5); }
.v-reply { font-weight: 600; background: rgb(148 177 200 / .45); border-radius: 10px 10px 3px 10px; padding: 5px 9px; }

/* Vignette reveal, once the section scrolls into view */
.pillars-sec .up { opacity: 0; transform: translateY(14px); }
.pillars-sec.in .up { animation: nasjUp 620ms cubic-bezier(.22,.61,.36,1) forwards; }
.pillars-sec .d2 { animation-delay: 300ms !important; }
.pillars-sec .d3 { animation-delay: 450ms !important; }
.pillars-sec .d4 { animation-delay: 600ms !important; }
.pillars-sec .d5 { animation-delay: 750ms !important; }
.pillars-sec .d6 { animation-delay: 1100ms !important; }
.pillars-sec .d7 { animation-delay: 1500ms !important; }
@keyframes nasjUp { to { opacity: 1; transform: none; } }

/* ── The revenue tile: the graph, and nothing else ──────────────── */
.work-tile.tile-chart .shot, .work-tile.tile-launch .shot { padding: 16px; display: block; }
.work-tile .shot.chart-shot {
  display: flex !important; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 10px;
  background: var(--ice-light); color: var(--merlot);
  font-family: Archivo, "Archivo Fallback", sans-serif;
}
.c-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.c-ov {
  font: 700 10px/1 Archivo, "Archivo Fallback", sans-serif; letter-spacing: .1em; text-transform: uppercase;
  color: rgb(61 21 25 / .55); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.c-legend { display: flex; align-items: center; gap: 6px; font: 400 10px/1 Archivo, "Archivo Fallback", sans-serif; color: rgb(61 21 25 / .62); white-space: nowrap; flex: 0 0 auto; }
.c-ov-date { display: none; }
.c-legend .sw { width: 14px; height: 2.5px; border-radius: 2px; display: inline-block; }
.c-legend .sw.rev { background: var(--merlot); }
.c-legend .sw.sp { background: repeating-linear-gradient(to right, rgb(61 21 25 / .5) 0 2px, transparent 2px 4px); margin-left: 6px; }

.c-plot { position: relative; flex: 1; min-height: 0; margin: 0 6px; }
.c-plot svg { display: block; width: 100%; height: 100%; overflow: visible; }
.c-plot .area { fill: url(#nasjRevGrad); stroke: none; }
.c-plot .rev { fill: none; stroke: var(--merlot); stroke-width: 2.4px; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.c-plot .spend { fill: none; stroke: rgb(61 21 25 / .5); stroke-width: 1.6px; stroke-dasharray: 1.5 3.5; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.c-plot .g0 { stop-color: #3D1519; stop-opacity: .18; }
.c-plot .g1 { stop-color: #3D1519; stop-opacity: .04; }
.c-plot .g2 { stop-color: #3D1519; stop-opacity: 0; }
.c-plot .reveal { transform: scaleX(0); transform-origin: 0 0; }
.tile-chart.in .c-plot .reveal { animation: nasjReveal 1500ms cubic-bezier(.22,.61,.36,1) 200ms forwards; }
@keyframes nasjReveal { to { transform: scaleX(1); } }

/* the three months, read straight off the curve.
   Each .pt is a zero-size anchor ON the data point: the dot is centred on it and
   the label is pushed into the empty side, so neither covers the line. */
.c-plot .pt { position: absolute; width: 0; height: 0; opacity: 0; }
.c-plot .pt i {
  position: absolute; left: -4.5px; top: -4.5px; width: 9px; height: 9px; border-radius: 5px;
  background: var(--merlot); box-shadow: 0 0 0 2.5px var(--ice-light);
}
.c-plot .pt b {
  position: absolute; white-space: nowrap;
  font: 700 14px/1 Archivo, "Archivo Fallback", sans-serif; letter-spacing: -.01em;
}
.c-plot .p1 { left: 0; }
.c-plot .p1 b { left: -4px; bottom: 14px; }       /* January: straight above the point, clear of both lines */
.c-plot .p2 { left: 50%; }
.c-plot .p2 b { right: 15px; bottom: 8px; }      /* February: above-left of the point */
.c-plot .p3 { right: 0; }
.c-plot .p3 b { right: 16px; top: -9px; }        /* March: left of the end point, clear of the legend */
.tile-chart.in .c-plot .p1 { animation: nasjPop 420ms cubic-bezier(.22,.61,.36,1) 350ms forwards; }
.tile-chart.in .c-plot .p2 { animation: nasjPop 420ms cubic-bezier(.22,.61,.36,1) 950ms forwards; }
.tile-chart.in .c-plot .p3 { animation: nasjPop 420ms cubic-bezier(.22,.61,.36,1) 1600ms forwards; }
@keyframes nasjPop { to { opacity: 1; } }

.c-months { display: flex; justify-content: space-between; font: 400 10px/1 Archivo, "Archivo Fallback", sans-serif; color: rgb(61 21 25 / .55); }

/* ── The product-launch tile ──────────────────────────────────────── */
.work-tile .shot.launch-shot { font-family: Inter, Archivo, "Archivo Fallback", sans-serif; }
.launch-inner { position: relative; width: 100%; height: 100%; }
.launch-inner .cap {
  position: absolute; left: 0; right: 0; text-align: center;
  font: 700 9.5px/1 Inter, Archivo, "Archivo Fallback", sans-serif; letter-spacing: .08em; text-transform: uppercase;
  color: rgb(215 228 238 / .6); opacity: 0;
}
.launch-inner .cap.top { top: 0; }
.launch-inner .cap.bottom { bottom: 0; }
.tile-launch.in .cap.top { animation: nasjPop 400ms ease-out 2350ms forwards; }
.tile-launch.in .cap.bottom { animation: nasjPop 400ms ease-out 3700ms forwards; }
.launch-inner .links { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.launch-inner .ln { fill: none; stroke: rgb(148 177 200 / .55); stroke-width: 1px; stroke-dasharray: 1; stroke-dashoffset: 1; vector-effect: non-scaling-stroke; }
.tile-launch.in .ln { animation: nasjLine 900ms cubic-bezier(.42,0,.58,1) 2500ms forwards; }
@keyframes nasjLine { to { stroke-dashoffset: 0; } }
.pk-row { position: absolute; left: 0; right: 0; top: 22px; display: flex; justify-content: center; gap: 6px; }
.pk { width: 58px; height: 36px; display: block; opacity: 0; transform: translate(var(--cx), var(--by)) scale(var(--s)); }
.tile-launch.in .pk { opacity: 1; }
.pk img { display: block; width: 100%; height: 100%; object-fit: contain; }
/* the magenta set is the card on top of the stack; the others sit behind it */
.pk:nth-child(1), .pk:nth-child(5) { z-index: 3; }
.pk:nth-child(2), .pk:nth-child(4) { z-index: 4; }
.pk:nth-child(3) { z-index: 5; }
.tile-launch.in .pk { animation: nasjDeal 2900ms linear forwards; }
@keyframes nasjDeal {
  0%   { transform: translate(var(--cx), var(--by)) scale(var(--s)) rotate(0deg); opacity: var(--o0); animation-timing-function: cubic-bezier(.32, .06, .3, 1); }
  24%  { transform: translate(var(--cx), var(--cy)) scale(var(--s)) rotate(0deg); opacity: var(--o0); animation-timing-function: cubic-bezier(.42, 0, .58, 1); }
  62%  { transform: translate(var(--sx), var(--sy)) scale(var(--ss)) rotate(var(--r)); opacity: 1; animation-timing-function: cubic-bezier(.42, 0, .58, 1); }
  100% { transform: translate(0px, 0px) scale(1) rotate(0deg); opacity: 1; }
}

.gal { position: absolute; left: 0; right: 0; top: 118px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.gal .th { display: block; aspect-ratio: 4 / 5; border-radius: 8px; overflow: hidden; background: rgb(61 21 25 / .5); opacity: 0; transform: translateY(12px); }
.gal .th img { display: block; width: 100%; height: 100%; object-fit: cover; }
.tile-launch.in .gal .th { animation: nasjRise 520ms cubic-bezier(.22,.61,.36,1) forwards; }
.tile-launch.in .gal .th:nth-child(1) { animation-delay: 3050ms; }
.tile-launch.in .gal .th:nth-child(2) { animation-delay: 3130ms; }
.tile-launch.in .gal .th:nth-child(3) { animation-delay: 3210ms; }
.tile-launch.in .gal .th:nth-child(4) { animation-delay: 3290ms; }
.tile-launch.in .gal .th:nth-child(5) { animation-delay: 3370ms; }
.tile-launch.in .gal .th:nth-child(6) { animation-delay: 3450ms; }
@keyframes nasjRise { to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  .pillars-sec .up, .pillars-sec .ag-cell, .plot .start-tag, .plot .peak-dot, .plot .peak-chip, .pk, .gal .th, .launch-inner .cap {
    animation: none !important; opacity: 1 !important; transform: none !important;
  }
  .plot .reveal { animation: none !important; transform: none !important; }
  .launch-inner .ln { animation: none !important; stroke-dashoffset: 0 !important; }
}

/* Media boxes — reserved, rounded, no invented art */
.media {
  border-radius: 12px;
  background: rgb(148 177 200 / .08);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 24px;
  font: 300 12px/18px Archivo, "Archivo Fallback", sans-serif;
  color: rgb(215 228 238 / .56);
  aspect-ratio: 4 / 3;
}

.on-light .media { background: rgb(61 21 25 / .08); color: rgb(61 21 25 / .56); }
.media.wide { aspect-ratio: 16 / 9; }
.media.tall { aspect-ratio: 4 / 5; }

/* Proof bar */
.proof {
  border-top: 1px solid rgb(148 177 200 / .10);
  border-bottom: 1px solid rgb(148 177 200 / .10);
  padding: 28px 0;
}

.proof-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 16px 32px;
}

.proof p { font-size: 20px; }

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
}

.stat { display: grid; gap: 8px; padding-top: 20px; border-top: 1px solid rgb(61 21 25 / .16); }
.on-merlot .stat { border-top-color: rgb(148 177 200 / .14); }
.stat .v { font: 300 clamp(40px, 4.4vw, 64px)/1 Archivo, "Archivo Fallback", sans-serif; white-space: nowrap; }
.stat .v .cur { font: 400 .34em/1 Archivo, "Archivo Fallback", sans-serif; letter-spacing: .06em; vertical-align: baseline; margin-right: .18em; }
.stat .l { font: 300 15px/22px Archivo, "Archivo Fallback", sans-serif; }
.stat .n { font: 300 12px/18px Archivo, "Archivo Fallback", sans-serif; }

/* Services list */
.svc-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0 40px;
}

.svc-list div {
  font: 400 17px/1.3 Archivo, "Archivo Fallback", sans-serif;
  padding: 20px 0;
  border-bottom: 1px solid rgb(148 177 200 / .10);
}

.on-light .svc-list div { border-bottom-color: rgb(61 21 25 / .12); }

/* Work tiles */
.work-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 12px;
}

.work-tile { display: grid; gap: 12px; align-content: start; }
.work-tile .shot {
  height: 260px;
  border-radius: 12px;
  background: rgb(148 177 200 / .08);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 20px;
  font: 300 12px/18px Archivo, "Archivo Fallback", sans-serif;
  color: rgb(215 228 238 / .56);
}
.work-tile .shot { position: relative; overflow: hidden; padding: 0; }
.work-tile.tile-chart .shot, .work-tile.tile-launch .shot { height: 440px; }
.work-tile .shot > img, .work-tile .shot > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.work-tile .client { font: 300 24px/1.1 Archivo, "Archivo Fallback", sans-serif; }
.work-tile .svcs { font: 400 13px/20px Archivo, "Archivo Fallback", sans-serif; color: rgb(215 228 238 / .60); }
.work-tile.wide { grid-column: span 2; }

/* Comparison matrix */
.matrix { display: grid; gap: 8px; }

.matrix-head {
  display: none;
  grid-template-columns: minmax(240px, 1.6fr) repeat(6, minmax(0, 1fr));
  gap: 8px;
  padding: 0 20px 8px;
}

.matrix-head span {
  font: 600 10.5px/1 Archivo, "Archivo Fallback", sans-serif;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-align: center;
  color: var(--merlot);
  background: rgb(61 21 25 / .07);
  border: 1px solid rgb(61 21 25 / .12);
  border-radius: 999px;
  padding: 7px 4px;
}
.matrix-head span:first-child { background: none; border: 0; }

.row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  border-radius: 12px;
  padding: 20px;
  border: 1px solid rgb(61 21 25 / .12);
}

.row.featured { background: var(--merlot); border-color: var(--merlot); color: var(--ice-light); }
.row .who { display: grid; gap: 6px; }
.row .who .name { font: 300 22px/1.1 Archivo, "Archivo Fallback", sans-serif; }
.row .who .desc { font: 300 14px/21px Archivo, "Archivo Fallback", sans-serif; color: rgb(61 21 25 / .64); }
.row.featured .who .desc { color: rgb(215 228 238 / .64); }

.marks { display: flex; flex-wrap: wrap; gap: 12px; }
.marks .m { display: flex; align-items: center; gap: 6px; font: 600 10.5px/1 Archivo, "Archivo Fallback", sans-serif; letter-spacing: .06em; text-transform: uppercase; color: rgb(61 21 25 / .7); }
.row.featured .marks .m { color: rgb(215 228 238 / .64); }
.marks svg { width: 18px; height: 18px; flex: 0 0 auto; }
.marks .yes svg { color: var(--merlot); }
.row.featured .marks .yes svg { color: var(--ice); }
.marks .no svg { color: rgb(61 21 25 / .32); }
.row.featured .marks .no svg { color: rgb(215 228 238 / .32); }

/* Footer */
.site-footer { background: var(--merlot); color: var(--ice-light); padding: 80px 0 32px; }

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
}

.footer-grid h4 {
  margin: 0 0 16px;
  font: 600 11px/1 Archivo, "Archivo Fallback", sans-serif;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgb(215 228 238 / .64);
}

.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-grid a { font: 400 14px/1.4 Archivo, "Archivo Fallback", sans-serif; color: rgb(215 228 238 / .84); }
.footer-grid a:hover { color: var(--ice); }

.footer-brand img { height: 56px; width: auto; display: block; margin-bottom: 20px; }

.footer-legal {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgb(148 177 200 / .10);
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font: 300 12px/1 Archivo, "Archivo Fallback", sans-serif;
  color: rgb(215 228 238 / .64);
}

.footer-legal .spacer { flex: 1; }

/* Sticky CTA bar */





/* Both wide tiles sit on ice-light, so their ink flips to merlot */
.work-tile.tile-chart .shot, .work-tile.tile-launch .shot { background: var(--ice-light); color: var(--merlot); }
.launch-inner .cap { color: rgb(61 21 25 / .56); }
.launch-inner .ln { stroke: rgb(61 21 25 / .45); }
.gal .th { background: rgb(61 21 25 / .12); }

@media (min-width: 768px) {
  .section { padding: 128px 0; }
  .split { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; }
  .work-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .work-tile.wide { grid-column: span 2; }
  .work-tile .shot { height: 320px; }
  .work-tile.tile-chart .shot, .work-tile.tile-launch .shot { height: 320px; }
  .pillar-art { height: 372px; }
  .vcard { height: 336px; }
  .c-ov-date { display: inline; }
  .pk-row { top: 20px; gap: 9px; }
  .pk { width: 86px; height: 54px; }
  .gal { top: 130px; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }

  .row {
    grid-template-columns: minmax(240px, 1.6fr) repeat(6, minmax(0, 1fr));
    align-items: center;
    gap: 8px;
  }
  .matrix-head { display: grid; }
  .marks { display: contents; }
  .marks .m { flex-direction: column; justify-content: center; align-items: center; gap: 0; }
  .marks .m span { display: none; }
}

/* ── Section 06 colour + motion pass ─────────────────────────────── */
/* 01 — the figures lead, the label sits under them */
.v-stat { flex-direction: column; gap: 4px; }
.v-stat b { font: 600 21px/1 Archivo, "Archivo Fallback", sans-serif; letter-spacing: -.02em; order: 0; }
.v-stat i {
  order: 1; font: 600 9px/1.2 Archivo, "Archivo Fallback", sans-serif; font-style: normal; letter-spacing: .03em;
  text-transform: uppercase; color: rgb(61 21 25 / .5); white-space: nowrap;
}
.v-stat .delta { font: 700 10px/1 Archivo, "Archivo Fallback", sans-serif; }
.v-stat .delta.up { color: #1E8E5A; }
.v-stat .delta.down { color: #C0392B; }

/* 03 — alert colours on the rules */
.v-row i.chip.kill { background: rgb(192 57 43 / .12); border: 0; color: #B3261E; }
.v-row i.chip.scale { background: rgb(30 142 90 / .16); color: #14724A; }
.v-row i.chip.restock { background: rgb(183 121 31 / .18); color: #8A5B12; }

/* motion: the to-do arrives one line at a time, then the reply, then the answer */
.pillars-sec .d7 { animation-delay: 1500ms !important; }
.pillars-sec .d8 { animation-delay: 2100ms !important; }
.pillars-sec .d9 { animation-delay: 2700ms !important; }


/* 02 — the messages sit on the card itself: no chat panel, no app chrome */
.chat { width: 100%; display: flex; flex-direction: column; gap: 10px; }
.msg {
  max-width: 86%; padding: 11px 13px 9px; border-radius: 12px;
  font: 400 12.5px/1.45 Archivo, "Archivo Fallback", sans-serif;
  display: inline-flex; align-items: flex-end; gap: 10px;
}
.msg i { font-style: normal; font-size: 9.5px; white-space: nowrap; }
.msg.in { align-self: flex-start; background: rgb(255 255 255 / .82); color: var(--merlot); border-radius: 12px 12px 12px 4px; }
.msg.in i { color: rgb(61 21 25 / .45); }
.msg.out { align-self: flex-end; background: var(--ice); color: var(--merlot); border-radius: 12px 12px 4px 12px; }
.msg.out i { color: rgb(61 21 25 / .55); }
/* three dots, then they give way to the reply */
.typing {
  align-self: flex-end; display: inline-flex; gap: 4px; padding: 11px 13px;
  background: rgb(148 177 200 / .45); border-radius: 12px 12px 4px 12px; opacity: 0;
}
.typing b { width: 5px; height: 5px; border-radius: 3px; background: rgb(61 21 25 / .5); display: block; }
.pillars-sec.in .typing { animation: nasjTypeIn 2600ms ease forwards 900ms; }
.pillars-sec.in .typing b { animation: nasjDot 1s ease-in-out infinite 900ms; }
.pillars-sec.in .typing b:nth-child(2) { animation-delay: 1050ms; }
.pillars-sec.in .typing b:nth-child(3) { animation-delay: 1200ms; }
@keyframes nasjTypeIn { 0% { opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { opacity: 0; height: 0; padding: 0; margin: -10px 0 0; } }
@keyframes nasjDot { 0%, 60%, 100% { transform: none; opacity: .45; } 30% { transform: translateY(-3px); opacity: 1; } }
.pillars-sec .d9 { animation-delay: 3400ms !important; }

/* 09 Services: the same panel as the Services drop-down, placed in the page */
.svc-mega { color: var(--merlot); }
.svc-mega .mg-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 56px; align-items: start; }
@media (max-width: 900px) {
  .svc-mega .mg-grid { grid-template-columns: 1fr; gap: 28px; }
}

/* 16 Start: email capture, with the booking link under it */
.lead-form { width: 100%; max-width: 640px; margin-inline: auto; text-align: left; }
.lf-row { display: flex; gap: 8px; max-width: 480px; margin-inline: auto; padding: 6px; border-radius: 999px; background: rgb(215 228 238 / .1); border: 1px solid rgb(148 177 200 / .3); }
.lead-form[data-step="2"] .lf-row { max-width: none; }
.lf-row input[type="email"] { flex: 1; min-width: 0; border: 0; background: transparent; color: var(--ice-light); font: 400 15px/1 Archivo, "Archivo Fallback", sans-serif; padding: 0 18px; outline: none; }
.lead-form input::placeholder { color: rgb(215 228 238 / .55); }
.lf-row:focus-within { border-color: var(--ice); }
.lead-form .btn-pill { height: 44px; padding: 12px 20px; }
.lf-step2 { margin-top: 20px; }
.lf-intro { font: 400 15px/1.5 Archivo, "Archivo Fallback", sans-serif; color: rgb(215 228 238 / .8); margin: 0 0 16px; text-align: center; }
.lf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.lf-grid label { display: flex; flex-direction: column; gap: 6px; font: 600 12px/1.2 Archivo, "Archivo Fallback", sans-serif; letter-spacing: .02em; color: var(--ice-light); }
.lf-grid label span { font-weight: 400; opacity: .6; }
.lf-grid .lf-wide { grid-column: 1 / -1; }
.lf-grid input, .lf-grid select, .lf-grid textarea { font: 400 15px/1.3 Archivo, "Archivo Fallback", sans-serif; color: var(--ice-light); background: rgb(215 228 238 / .08); border: 1px solid rgb(148 177 200 / .3); border-radius: 12px; padding: 12px 14px; outline: none; resize: vertical; }
.lf-grid select option { color: var(--merlot); }
.lf-grid input:focus, .lf-grid select:focus, .lf-grid textarea:focus { border-color: var(--ice); }
.lf-grid ::placeholder { color: rgb(215 228 238 / .45); }
.lf-submit { display: flex; margin: 20px auto 0; min-width: 160px; }
.lead-done { font: 400 16px/1.5 Archivo, "Archivo Fallback", sans-serif; color: var(--ice-light); margin: 0; }
.lead-alt { font: 400 14px/1.5 Archivo, "Archivo Fallback", sans-serif; color: rgb(215 228 238 / .7); margin: 0; }
.lead-alt a { color: var(--ice); text-underline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 480px) {
  .lead-form { flex-direction: column; border-radius: 20px; padding: 10px; }
  .lf-row input[type="email"] { height: 44px; }
}

[hidden] { display: none !important; }

.on-light em.accent { color: rgb(61 21 25 / .7); }

/* Launch tile: animation parked, the finished frame shows */
.tile-launch.is-static .pk, .tile-launch.is-static .gal .th, .tile-launch.is-static .launch-inner .cap { animation: none !important; opacity: 1 !important; transform: none !important; }
.tile-launch.is-static .launch-inner .ln { animation: none !important; stroke-dashoffset: 0 !important; }

/* 05 team: a real frame from our shoot at ORO */
.team-sec .split { align-items: center; }
.team-media { margin: 0; aspect-ratio: 4 / 5; border-radius: 20px; overflow: hidden; background: rgb(148 177 200 / .08); }
.team-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 55%; display: block; }

/* spend points: smaller, muted, labels below the line so they never meet revenue */
.c-plot .pt.s i { width: 7px; height: 7px; left: -3.5px; top: -3.5px; background: rgb(61 21 25 / .55); box-shadow: 0 0 0 2px var(--ice-light); }
.c-plot .pt.s b { font: 600 12px/1 Archivo, "Archivo Fallback", sans-serif; color: rgb(61 21 25 / .6); }
.c-plot .s1 { left: 0; } .c-plot .s1 b { left: 12px; top: 8px; }
.c-plot .s2 { left: 50%; } .c-plot .s2 b { left: 10px; top: 8px; }
.c-plot .s3 { right: 0; } .c-plot .s3 b { right: 12px; bottom: 8px; }
.tile-chart.in .c-plot .s1 { animation: nasjPop 420ms cubic-bezier(.22,.61,.36,1) 450ms forwards; }
.tile-chart.in .c-plot .s2 { animation: nasjPop 420ms cubic-bezier(.22,.61,.36,1) 1050ms forwards; }
.tile-chart.in .c-plot .s3 { animation: nasjPop 420ms cubic-bezier(.22,.61,.36,1) 1700ms forwards; }
@media (prefers-reduced-motion: reduce) { .c-plot .pt.s { animation: none !important; opacity: 1 !important; } }
/* mobile: a square chart, readable labels */
@media (max-width: 767px) {
  .work-tile.tile-chart .shot { height: auto; aspect-ratio: 1 / 1; padding: 16px 18px 14px; }
  .c-ov { font-size: 11px; }
  .c-legend { font-size: 12px; }
  .c-months { font-size: 12px; }
  .c-plot .pt b { font-size: 13px; }
  .c-plot .pt.s b { font-size: 12px; }
  .c-plot { margin: 14px 8px 0; }
}

/* ── Mobile: 44px tap targets ─────────────────────── */
@media (max-width: 767px) {
        .footer-grid ul { gap: 0; }
  .footer-grid a { display: inline-flex; align-items: center; min-height: 44px; }
  .footer-legal a { display: inline-flex; align-items: center; min-height: 44px; }
  .lead-alt a, .cs-back, .cs-all { display: inline-flex; align-items: center; min-height: 44px; }
}

/* 07 Results in numbers: description bottom-left, a large serif number bottom-right */
.numbers-sec .h2-split { max-width: none; }
.numbers-sec .h2-split em { display: block; font-size: 1.25em; line-height: 1.05; }
.numbers-sec .stats { display: grid; grid-template-columns: 1fr; gap: 0; }
.numbers-sec .stat { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding: 48px 0 28px; border-top: 0; border-bottom: 1px solid rgb(61 21 25 / .18); }
.numbers-sec .stat-copy { max-width: 46%; display: grid; gap: 12px; padding-bottom: 10px; }
.numbers-sec .stat .l { font: 400 15px/1.5 Archivo, "Archivo Fallback", sans-serif; color: rgb(61 21 25 / .6); margin: 0; }
.numbers-sec .stat .n { color: inherit; font: inherit; }
.numbers-sec .stat .v { font: 400 clamp(64px, 7.2vw, 112px)/.9 "Instrument Serif", "Serif Fallback", Georgia, serif; letter-spacing: -.01em; color: var(--merlot); white-space: nowrap; }
.numbers-sec .stat .v .cur { font: 400 .3em/1 Archivo, "Archivo Fallback", sans-serif; letter-spacing: .06em; margin-right: .2em; vertical-align: .2em; }
.stat-link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font: 500 14px/1 Archivo, "Archivo Fallback", sans-serif; color: var(--merlot); text-decoration: none; }
.stat-link svg { width: 14px; height: 14px; }
.stat-link:hover { text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 768px) {
  .numbers-sec .stats { grid-template-columns: 1fr 1fr; column-gap: 72px; }
  .numbers-sec .stat:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .numbers-sec .stat { flex-direction: column-reverse; align-items: flex-start; gap: 12px; padding: 36px 0 20px; }
  .numbers-sec .stat-copy { max-width: none; padding-bottom: 0; }
  .numbers-sec .stat .v { font-size: clamp(60px, 19vw, 84px); }
}

/* currency after big numbers */
.stat .v .cur, .numbers-sec .stat .v .cur { margin-right: 0; margin-left: .22em; }

.lead-done .lead-book { display: inline-flex; margin-top: 16px; }

/* 09 Services: chips flow into the NASJ mark, arrows out to the teams we serve (Superside pattern, NASJ palette) */
.svc-flow { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) 150px minmax(0, 1fr); align-items: center; gap: 0; min-height: 460px; }
.svc-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; align-content: center; position: relative; z-index: 2; }
.svc-chips .chip { display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 16px; border-radius: 12px; font: 500 15px/1 Archivo, "Archivo Fallback", sans-serif; color: var(--merlot); background: #fff; box-shadow: 0 1px 0 rgb(61 21 25 / .06), 0 8px 20px -14px rgb(61 21 25 / .35); opacity: 0; transform: translateY(10px) scale(.96); transition: opacity .32s ease, transform .32s cubic-bezier(.22,.61,.36,1); }
.svc-chips .chip:has(.ic) { padding-left: 9px; }
/* chip icons: Lucide (ISC licence), white 2px stroke on a dark rounded square */
.svc-chips .ic { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: var(--ic, #3D1519); }
.svc-chips .ic svg { width: 16px; height: 16px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; color: #fff; display: block; }
.svc-chips .chip.t-ice { background: #CFE0EC; } .svc-chips .chip.t-merlot { background: var(--merlot); color: var(--ice-light); } .svc-chips .chip.t-dark { background: #23382C; color: #E2F0E6; }
.svc-chips .chip.t-sand { background: #F6EDD7; } .svc-chips .chip.t-mint { background: #E2F0E6; } .svc-chips .chip.t-lav { background: #ECE5F3; } .svc-chips .chip.t-rose { background: #F6E3E1; }
.svc-chips .chip.t-more { background: transparent; box-shadow: inset 0 0 0 1px rgb(61 21 25 / .25); padding: 0; }
.svc-chips .chip.t-more a { display: flex; align-items: center; height: 100%; padding: 0 18px; color: var(--merlot); text-decoration: none; }
/* services loop: chip->hub connectors, travelling pulses, hub ring, hub->role connectors (work-tiles.js, transform/opacity/dashoffset only) */
.svc-inflow { position: absolute; inset: 0; width: 100%; height: 100%; overflow: hidden; pointer-events: none; z-index: 1; }
.svc-inflow path, .svc-arrows path { fill: none; stroke-linecap: round; }
.svc-pulses { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 1; }
.svc-dot { position: absolute; left: 0; top: 0; width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: var(--c, #3D1519); box-shadow: 0 0 0 2px rgb(255 255 255 / .6); opacity: 0; will-change: transform, opacity; }
.svc-hub { position: relative; height: 100%; display: grid; place-items: center; }
.svc-beam { position: absolute; left: -60%; right: -40%; top: 50%; height: 220px; transform: translateY(-50%) scaleX(.2); transform-origin: left center; background: radial-gradient(ellipse at 30% 50%, rgb(148 177 200 / .55), rgb(148 177 200 / 0) 70%); filter: blur(6px); opacity: 0; transition: opacity .8s ease .5s, transform 1s cubic-bezier(.22,.61,.36,1) .5s; z-index: 0; }
.svc-ring { position: absolute; left: 50%; top: 50%; width: 108px; height: 108px; margin: -54px 0 0 -54px; border-radius: 30px; border: 2px solid rgb(148 177 200 / .95); box-shadow: 0 0 0 1px rgb(61 21 25 / .28), inset 0 0 0 1px rgb(61 21 25 / .28); opacity: 0; z-index: 1; pointer-events: none; will-change: transform, opacity; }
.svc-mark { position: relative; z-index: 2; width: 108px; height: 108px; border-radius: 26px; background: var(--merlot); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; box-shadow: 0 0 0 1.5px #94B1C8, 0 0 0 2.5px #82747C, 0 0 0 18px #C6D6E3, 0 0 0 19.5px #A0959E, 0 20px 40px -18px rgb(61 21 25 / .7); transform: scale(.6); opacity: 0; transition: opacity .5s cubic-bezier(.65,0,.35,1) .9s, transform .6s cubic-bezier(.65,0,.35,1) .9s; }
.svc-mark svg { width: 82px; height: auto; display: block; }
.svc-roles { position: relative; height: 460px; }
.svc-roles ul { list-style: none; margin: 0; padding: 0; position: absolute; inset: 0; }
.svc-arrows { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.svc-inflow .b, .svc-arrows .b { stroke: rgb(148 177 200 / .5); stroke-width: 1.25; stroke-dasharray: var(--len); stroke-dashoffset: var(--len); transition: stroke-dashoffset .7s cubic-bezier(.22,.61,.36,1); }
.svc-inflow .r, .svc-arrows .r { stroke: #7FA0BA; stroke-width: 1.25; stroke-dashoffset: 9999; }
.svc-arrows .h { stroke: #7FA0BA; stroke-width: 1.25; stroke-linejoin: round; opacity: 0; }
.svc-flow.live .svc-chips .chip, .svc-flow.loop .svc-mark, .svc-flow.loop .svc-beam, .svc-flow.loop .role { transition: none; }
.svc-flow.loop .svc-inflow .b, .svc-flow.loop .svc-arrows .b { display: none; } /* motion: only the drawn runner shows, so no line exists before its destination */
.svc-flow.loop .role, .svc-flow.live .svc-chips .chip { will-change: transform; }
.role { position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%) scale(.7); opacity: 0; display: flex; flex-direction: column; align-items: center; transition: opacity .5s cubic-bezier(.65,0,.35,1), transform .6s cubic-bezier(.65,0,.35,1); z-index: 2; }
.role img { width: var(--s); height: var(--s); border-radius: 50%; object-fit: cover; display: block; box-shadow: 0 14px 30px -18px rgb(61 21 25 / .7); }
.role span { position: relative; margin-top: -14px; padding: 6px 10px; border-radius: 9px; font: 500 13px/1 Archivo, "Archivo Fallback", sans-serif; white-space: nowrap; color: var(--merlot); background: #fff; }
.role.t-ice span { background: #CFE0EC; } .role.t-mint span { background: #E2F0E6; } .role.t-sand span { background: #F6EDD7; } .role.t-rose span { background: #F6E3E1; } .role.t-lav span { background: #ECE5F3; } .role.t-merlot span { background: var(--merlot); color: var(--ice-light); }
.svc-flow.in .svc-chips .chip { opacity: 1; transform: none; }
.svc-flow.in .svc-beam { opacity: 1; transform: translateY(-50%) scaleX(1); }
.svc-flow.in .svc-mark { opacity: 1; transform: none; }
.svc-flow.in .svc-arrows .b, .svc-flow.in .svc-inflow .b { stroke-dashoffset: 0; }
.svc-flow.in .role { opacity: 1; transform: translate(-50%, -50%); }
.svc-all { margin-top: 8px; }
@media (max-width: 900px) {
  .svc-flow { grid-template-columns: 1fr; min-height: 0; }
  .svc-chips { justify-content: center; gap: 8px; }
  .svc-chips .chip { height: 40px; font-size: 14px; padding: 0 12px; }
  .svc-chips .chip:has(.ic) { padding-left: 6px; }
  .svc-hub { height: 180px; }
  .svc-beam { left: 50%; right: auto; top: -30%; width: 240px; height: 160%; transform: translateX(-50%) scaleY(.2); transform-origin: center top; background: radial-gradient(ellipse at 50% 30%, rgb(148 177 200 / .55), rgb(148 177 200 / 0) 70%); }
  .svc-flow.in .svc-beam { transform: translateX(-50%) scaleY(1); }
  .svc-roles { height: 640px; }
  .role { left: var(--xm); top: var(--ym); }
  .role img { width: var(--sm); height: var(--sm); }
  .role span { font-size: 12px; }
  .svc-roles ul { inset: 0 0 40px 0; }
}
@media (prefers-reduced-motion: reduce) {
  .svc-chips .chip, .svc-beam, .svc-mark, .role, .svc-arrows .b, .svc-inflow .b { transition: none !important; opacity: 1 !important; }
  .svc-chips .chip, .svc-mark { transform: none !important; } .role { transform: translate(-50%, -50%) !important; } .svc-arrows .b, .svc-inflow .b { stroke-dashoffset: 0 !important; stroke: #7FA0BA; }
  .svc-dot, .svc-ring, .svc-arrows .r, .svc-inflow .r { display: none !important; }
}

/* Lead form confirmation states */
.ty-out { opacity: 0; transform: translateY(8px); transition: opacity .25s ease, transform .25s ease; }
.container.ty { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; max-width: 900px; margin-inline: auto; padding-top: 24px; animation: tyIn .5s cubic-bezier(.22,.61,.36,1) both; }
@keyframes tyIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.ty-check svg { width: 64px; height: 64px; display: block; }
.ty-check circle { fill: none; stroke: var(--ice); stroke-width: 3; stroke-dasharray: 151; stroke-dashoffset: 151; animation: tyDraw .6s ease forwards .1s; }
.ty-check path { fill: none; stroke: var(--ice-light); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; animation: tyDraw .4s ease forwards .6s; }
@keyframes tyDraw { to { stroke-dashoffset: 0; } }
.ty-h { font: 300 clamp(36px, 5vw, 60px)/1.05 Archivo, "Archivo Fallback", sans-serif; color: var(--ice-light); margin: 0; max-width: none; }
.ty-sub { font: 300 clamp(18px, 2vw, 22px)/1.45 Archivo, "Archivo Fallback", sans-serif; color: rgb(215 228 238 / .85); margin: 0; max-width: 40ch; }
.ty-book { width: 100%; max-width: 760px; height: 640px; border-radius: 18px; overflow: hidden; background: #fff; margin-top: 8px; }
.ty-book iframe { width: 100%; height: 100%; border: 0; display: block; }
.ty-primary { width: 100%; max-width: 420px; height: 56px !important; font-size: 16px; }
.ty-steps { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; width: 100%; text-align: left; }
.ty-steps li { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border-radius: 14px; background: rgb(215 228 238 / .07); border: 1px solid rgb(148 177 200 / .2); color: var(--ice-light); font: 400 15px/1.4 Archivo, "Archivo Fallback", sans-serif; }
.ty-steps b { flex: 0 0 28px; height: 28px; border-radius: 50%; background: var(--ice); color: var(--merlot); display: grid; place-items: center; font: 600 14px/1 Archivo, "Archivo Fallback", sans-serif; }
.ty-eyebrow { font: 600 11px/1 Archivo, "Archivo Fallback", sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--ice); margin: 20px 0 0; }
.ty-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; width: 100%; text-align: left; }
.ty-card { display: flex; flex-direction: column; gap: 8px; background: var(--ice-light); color: var(--merlot); border-radius: 16px; overflow: hidden; text-decoration: none; padding-bottom: 16px; min-height: 44px; }
.ty-card img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; display: block; }
.ty-card-meta { font: 600 11px/1 Archivo, "Archivo Fallback", sans-serif; letter-spacing: .12em; text-transform: uppercase; color: rgb(61 21 25 / .6); padding: 0 16px; }
.ty-card b { font: 400 17px/1.25 Archivo, "Archivo Fallback", sans-serif; padding: 0 16px; text-wrap: balance; }
.ty-alt { font: 400 15px/1.5 Archivo, "Archivo Fallback", sans-serif; color: rgb(215 228 238 / .75); margin: 4px 0 0; }
.ty-alt a { color: var(--ice); display: inline-flex; align-items: center; min-height: 44px; }
@media (max-width: 700px) {
  .ty-steps, .ty-cards { grid-template-columns: 1fr; }
  .ty-book { height: 560px; }
}
@media (prefers-reduced-motion: reduce) { .container.ty, .ty-check circle, .ty-check path { animation: none !important; stroke-dashoffset: 0 !important; } }
/* services flow, phones: compact shared grammar (icon grid → round hub → 2 rows of roles), ≈1 screen */
.svc-flow .sh { display: none; }
@media (max-width: 600px) {
  .svc-chips { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
  .svc-chips .chip, .svc-chips .chip:has(.ic) { flex-direction: column; justify-content: flex-start; height: auto; min-height: 64px; padding: 9px 2px 7px; gap: 6px; border-radius: 10px; box-shadow: none; }
  .svc-chips .ic { width: 26px; height: 26px; border-radius: 7px; }
  .svc-chips .ic svg { width: 14px; height: 14px; }
  .svc-flow .chip > span, .svc-flow .role > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .svc-flow .sh { display: block; font: 500 10px/1.15 Archivo, "Archivo Fallback", sans-serif; text-align: center; color: var(--merlot); }
  .svc-hub { height: 112px; }
  .svc-mark { width: 60px; height: 60px; border-radius: 50%; box-shadow: 0 0 0 1.5px #94B1C8, 0 0 0 2.5px #82747C, 0 0 0 12px #C6D6E3, 0 0 0 13.5px #A0959E, 0 14px 28px -16px rgb(61 21 25 / .7); }
  .svc-mark svg { width: 38px; }
  .svc-ring { width: 60px; height: 60px; margin: -30px 0 0 -30px; border-radius: 50%; }
  .svc-beam { width: 160px; height: 130%; top: -15%; }
  .svc-roles { height: 176px; }
  .svc-roles ul { inset: 0; }
  .role { top: 30%; } .role:nth-child(n+5) { top: 80%; }
  .role:nth-child(4n+1) { left: 12.5%; } .role:nth-child(4n+2) { left: 37.5%; } .role:nth-child(4n+3) { left: 62.5%; } .role:nth-child(4n+4) { left: 87.5%; }
  .role img { width: 46px; height: 46px; }
  .role .sh { position: relative; margin-top: -7px; padding: 4px 6px; border-radius: 7px; background: #fff; font-size: 9.5px; line-height: 1; white-space: nowrap; }
  .role.t-ice .sh { background: #CFE0EC; } .role.t-mint .sh { background: #E2F0E6; } .role.t-sand .sh { background: #F6EDD7; } .role.t-rose .sh { background: #F6E3E1; } .role.t-lav .sh { background: #ECE5F3; } .role.t-merlot .sh { background: var(--merlot); color: var(--ice-light); }
}
@media (max-width: 600px) {
  .svc-chips { margin-top: 20px; } .svc-roles { margin-top: 18px; }
  .svc-chips::before, .svc-roles::before { position: absolute; left: 0; right: 0; top: -20px; text-align: center; font: 600 9.5px/1 Archivo, "Archivo Fallback", sans-serif; letter-spacing: .12em; color: rgb(61 21 25 / .6); }
  .svc-chips::before { content: "WHAT WE MAKE"; } .svc-roles::before { content: "WHO IT\2019S FOR"; top: -16px; }
}
@media (max-width: 600px) {
  .role:nth-child(5) { left: 25%; } .role:nth-child(6) { left: 50%; } .role:nth-child(7) { left: 75%; } .role:nth-child(8) { display: none; }
  .svc-roles::before { top: -18px; left: 50%; right: auto; transform: translateX(-50%); padding: 3px 8px; background: #D7E4EE; border-radius: 6px; z-index: 3; }
}
/* phones: line + dot weight matched across flows (1.45px stroke at .28 alpha, 6.7px dots, no halo); merlot ink because the ice ink is invisible on this light ground */
@media (max-width: 600px) {
  .svc-inflow .r, .svc-arrows .r, .svc-arrows .h { stroke: rgb(61 21 25 / .28); stroke-width: 1.45px; }
  .svc-inflow .b, .svc-arrows .b { stroke: rgb(61 21 25 / .28); stroke-width: 1.45px; }
  .svc-dot { width: 6.7px; height: 6.7px; margin: -3.35px 0 0 -3.35px; box-shadow: none; }
}
/* comparison header: plain bold labels, no pills (Aman 2026-09-14) */
.matrix-head span { font: 700 15px/1.15 Archivo, "Archivo Fallback", sans-serif; letter-spacing: .03em; color: var(--merlot); background: none; border: 0; border-radius: 0; padding: 4px 2px; }
.marks .m { font: 700 12.5px/1.1 Archivo, "Archivo Fallback", sans-serif; letter-spacing: .03em; color: rgb(61 21 25 / .85); }
.row.featured .marks .m { color: rgb(215 228 238 / .9); }
/* standalone thanks pages (form posts without JavaScript land here) */
.ty-page { min-height: 70vh; display: grid; align-items: center; }
.ty-wrap { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 20px; padding-block: 48px; }
/* lead form step 2: columns can shrink (long select options were pushing the grid past the screen on phones) */
.lf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.lf-grid input, .lf-grid select, .lf-grid textarea { width: 100%; min-width: 0; box-sizing: border-box; }
@media (max-width: 480px) { .lf-grid { grid-template-columns: minmax(0, 1fr); } }


/* Text-fit (2026-09-15): brief-card stats scale with their card instead of spilling or truncating */
.v-stats { container-type: inline-size; }
.v-stats .v-stat { padding-inline: clamp(6px, 3cqi, 10px); }
.v-stats .v-stat b { font-size: clamp(12px, 7.4cqi, 21px); }
.v-stats .v-stat b small { font-size: clamp(7px, 3cqi, 9px); }
.v-stats .v-stat i { white-space: nowrap; overflow: visible; text-overflow: clip; }
@media (min-width: 768px) and (max-width: 1023px) { .pillars { max-width: 520px; margin-inline: auto; } }
@media (min-width: 1024px) { .pillars { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.v-kpis .v-kpi i { white-space: normal; overflow: visible; text-overflow: clip; }
.v-stats .v-stat i { font-size: clamp(8px, 3.3cqi, 10px); letter-spacing: .03em; }

/* Pillars (Aman 2026-09-15): the card itself is the art, full width with its shadow; no grey box around it */
.pillar-art { height: auto; background: none; padding: 0; overflow: visible; display: block; }
.pillar .vcard { max-width: none; width: 100%; height: 396px; background: #fff; border-color: rgb(61 21 25 / .06); box-shadow: 0 18px 40px -22px rgb(61 21 25 / .45), 0 2px 6px -2px rgb(61 21 25 / .12); }
@media (min-width: 768px) { .pillar .vcard { height: 372px; } }

/* How we work, phones (Aman 2026-09-15, ref: Superside stacked cards): each pillar sticks under the header
   and the next one slides up over it. Compact: body copy hidden, label + title stay. */
@media (max-width: 767px) {
  .pillars-sec .pillars { display: block; }
  .pillars-sec .pillar {
    position: sticky; top: 72px;
    margin-bottom: 20px;
    padding-bottom: 22px;
    box-shadow: 0 -14px 34px -18px rgb(0 0 0 / .55);
    transform: none !important;
  }
  .pillars-sec .pillar:last-child { margin-bottom: 0; }
  .pillars-sec .pillar > p { display: none; }
  .pillars-sec .pillar .pillar-num { font-size: 28px; margin-top: 10px; }
  .pillars-sec .pillar > h3 { margin-top: -4px; }
  .pillars-sec .pillar .vcard { height: 348px; }
}
/* comparison header at tablet widths: six narrow columns, labels must fit their column */
@media (max-width: 1199px) { .matrix-head span { font-size: clamp(9.5px, 1.25vw, 15px); letter-spacing: 0; overflow-wrap: normal; } }

/* privacy page */
.pv-wrap { max-width: 720px; padding-block: 24px 64px; }
.pv-h { font: 300 clamp(36px, 5vw, 56px)/1.05 Archivo, "Archivo Fallback", sans-serif; color: var(--merlot); margin: 12px 0 8px; }
.pv-h em { font-family: "Instrument Serif", "Serif Fallback", serif; color: rgb(61 21 25 / .7); }
.pv-date { color: rgb(61 21 25 / .6); font-size: 14px; margin: 0 0 32px; }
.pv-wrap h2 { font: 400 20px/1.3 Archivo, "Archivo Fallback", sans-serif; color: var(--merlot); margin: 32px 0 8px; }
.pv-wrap p { font: 300 17px/1.6 Archivo, "Archivo Fallback", sans-serif; color: rgb(61 21 25 / .85); margin: 0; }
.pv-wrap a { color: var(--merlot); }
@media (max-width: 600px) { .pv-wrap { padding-block: 8px 40px; } }

/* footer groups: lists open on desktop; on phones each service group is tap-to-open in a 2-column footer */
.fg-svcs { display: contents; }
.fg-svc > summary { list-style: none; cursor: default; pointer-events: none; }
.fg-svc > summary::-webkit-details-marker { display: none; }
@media (max-width: 767px) {
  .site-footer { padding: 36px 0 16px; }
  .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 20px; row-gap: 0; align-items: start; }
  .footer-brand { grid-column: 1 / -1; display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
  .footer-brand img { height: 36px; margin: 0; flex: none; }
  .footer-brand p { font-size: 13px !important; margin: 0; }
  .fg-svcs { display: block; }
  .footer-grid .fg-svc > summary { pointer-events: auto; cursor: pointer; display: flex; align-items: center; justify-content: space-between; min-height: 44px; }
  .footer-grid .fg-svc > summary h4, .footer-grid .fg-main h4 { margin: 0; line-height: 1.3; }
  .footer-grid .fg-main h4 { min-height: 44px; display: flex; align-items: center; }
  .fg-svc > summary::after { content: ""; flex: none; width: 7px; height: 7px; margin: -4px 4px 0 8px; border-right: 1.5px solid rgb(215 228 238 / .64); border-bottom: 1.5px solid rgb(215 228 238 / .64); transform: rotate(45deg); }
  .fg-svc[open] > summary::after { margin-top: 4px; transform: rotate(-135deg); }
  .fg-svc ul { padding-bottom: 8px; }
  .footer-grid a { line-height: 1.25; }
  .footer-legal { margin-top: 12px; padding-top: 4px; }
}

html { scroll-padding-top: 88px; } /* anchors land below the fixed header */
/* idea feed card text wraps inside its pill on phones (seen on how-we-work.html at 360–414px) */
.idea { max-width: 100%; }
.idea b { min-width: 0; max-width: 100%; overflow-wrap: anywhere; }
/* phones: card tall enough that the third idea is not cut mid-word (how-we-work.html) */
@media (max-width: 767px) { .pillars-sec .pillar .vcard { height: 392px; } }
