/* ===== Viraliza — sections ===== */

/* manifesto */
.manifesto { padding: clamp(80px, 12vw, 180px) var(--gut); display: grid; gap: clamp(28px, 4vw, 48px); }
.manifesto__text {
  font-family: var(--f-display); font-weight: 600;
  font-size: clamp(26px, 4.3vw, 66px); line-height: 1.12; letter-spacing: -.035em;
  max-width: 22ch; text-wrap: pretty;
}
.manifesto__chips { display: flex; flex-wrap: wrap; gap: 12px; }
.chip {
  display: inline-flex; align-items: center; height: 44px; padding: 0 20px; border-radius: 999px;
  font-family: var(--f-mono); font-size: 14px; box-shadow: inset 0 0 0 1.5px var(--line);
  transition: background-color .3s, color .3s;
}
.chip:hover { background: var(--paper); color: var(--ink); }
.chip--green { background: var(--green); color: var(--ink); box-shadow: none; }

/* services — horizontal */
.services { overflow: hidden; }
.services__track { display: flex; width: max-content; height: 100svh; }
.panel {
  width: var(--vw, 100vw); height: 100%; flex: none;
  padding: calc(100px + env(safe-area-inset-top, 0px)) var(--gut) 72px;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(24px, 5vw, 80px);
  position: relative; overflow: hidden;
}
.panel--intro { width: calc(var(--vw, 100vw) * .8); grid-template-columns: 1fr; align-content: center; gap: 28px; }
.panel__big { font-family: var(--f-display); font-size: clamp(40px, 7.4vw, 128px); line-height: .98; letter-spacing: -.05em; }
.panel__hint { color: var(--muted); }
.panel--mkt { background: var(--green); color: var(--ink); --line: rgba(11, 11, 9, .2); }
.panel--web { background: var(--paper); color: var(--ink); --line: rgba(11, 11, 9, .15); }
.panel--uni { background: var(--ink-2); }
.panel__copy { display: grid; gap: 20px; max-width: 520px; }
.panel__tag { font-size: 14px; font-weight: 600; }
.panel__title { font-family: var(--f-display); font-size: clamp(30px, 3.6vw, 56px); line-height: 1.02; letter-spacing: -.04em; }
.panel__text { font-size: 17px; max-width: 42ch; opacity: .82; }
.panel__list { list-style: none; margin: 8px 0 0; padding: 0; display: grid; }
.panel__list li { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); font-weight: 500; }
.panel__list li::before { content: "#"; font-family: var(--f-mono); font-weight: 600; opacity: .55; }
.panel__visual { display: grid; place-items: center; height: 100%; min-height: 0; position: relative; }
.services__progress { position: absolute; left: var(--gut); right: var(--gut); bottom: 28px; height: 2px; background: rgba(242, 243, 238, .15); z-index: 3; mix-blend-mode: difference; }
.services__progress i { display: block; height: 100%; width: 100%; background: var(--paper); transform: scaleX(0); transform-origin: left; }

/* phone */
.phone {
  width: min(290px, 70vw); aspect-ratio: 9 / 18.5; border-radius: 42px;
  background: var(--ink); padding: 14px; position: relative;
  box-shadow: 0 40px 80px -30px rgba(11, 11, 9, .6), inset 0 0 0 2px #2a2c27;
}
.phone__notch { position: absolute; top: 12px; left: 50%; width: 90px; height: 24px; margin-left: -45px; background: #000; border-radius: 20px; z-index: 2; }
.phone__post { background: var(--ink-3); color: var(--paper); border-radius: 30px; height: 100%; padding: 46px 14px 14px; display: flex; flex-direction: column; gap: 12px; }
.phone__head { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; }
.phone__head i { width: 26px; height: 26px; border-radius: 50%; background: conic-gradient(var(--green), var(--paper), var(--green)); }
.phone__head em { margin-left: auto; font-style: normal; font-size: 10px; color: var(--muted); }
.phone__media {
  flex: 1; border-radius: 18px; display: grid; place-items: center; overflow: hidden;
  background: radial-gradient(circle at 30% 20%, var(--green-hi), var(--green) 40%, var(--green-deep));
}
.phone__media span { font-family: var(--f-display); font-weight: 900; font-size: 120px; color: var(--ink); line-height: 1; }
.phone__bar { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.heart { color: #FF4D6D; font-size: 20px; display: inline-block; }
.phone__bar strong { font-variant-numeric: tabular-nums; }
.phone__notifs { position: absolute; right: 88%; top: 18%; display: grid; gap: 10px; width: 230px; }
.notif {
  background: var(--paper); color: var(--ink); border-radius: 16px; padding: 10px 14px;
  font-size: 13px; line-height: 1.3; display: flex; gap: 10px; align-items: center;
  box-shadow: 0 16px 30px -18px rgba(11, 11, 9, .7);
}
.notif b { width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: var(--green); display: grid; place-items: center; font-family: var(--f-mono); flex: none; }

/* browser */
.browser { width: min(560px, 100%); background: var(--ink); border-radius: 18px; overflow: visible; position: relative; box-shadow: 0 50px 90px -40px rgba(11, 11, 9, .55); }
.browser__bar { display: flex; align-items: center; gap: 7px; padding: 14px 16px; border-bottom: 1px solid rgba(242, 243, 238, .08); }
.browser__bar i { width: 11px; height: 11px; border-radius: 50%; background: #3a3d37; }
.browser__bar i:first-child { background: var(--green); }
.browser__bar span { margin-left: 12px; font-size: 12px; color: var(--muted); background: var(--ink-3); padding: 5px 14px; border-radius: 999px; }
.browser__body { padding: 18px; display: grid; gap: 12px; }
.bb { background: var(--ink-3); border-radius: 10px; }
.bb--nav { height: 18px; width: 60%; }
.bb--hero { height: 150px; background: linear-gradient(120deg, var(--green), var(--green-deep)); display: flex; align-items: flex-end; padding: 16px; }
.bb--hero span { font-family: var(--f-display); font-weight: 800; color: var(--ink); font-size: 26px; line-height: 1; letter-spacing: -.03em; }
.bb-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.bb--card { height: 70px; }
.bb--btn { justify-self: start; background: var(--paper); color: var(--ink); padding: 10px 18px; border-radius: 999px; font-weight: 600; font-size: 13px; }
.score {
  position: absolute; right: -28px; bottom: -34px; width: 128px; height: 128px; border-radius: 50%;
  background: var(--paper); color: var(--ink); display: grid; place-items: center; align-content: center;
  box-shadow: 0 20px 40px -20px rgba(11, 11, 9, .6);
}
.score svg { position: absolute; inset: 10px; transform: rotate(-90deg); }
.score circle { fill: none; stroke-width: 7; }
.score__bg { stroke: rgba(11, 11, 9, .1); }
.score__fg { stroke: var(--green); stroke-linecap: round; }
.score strong { font-size: 32px; line-height: 1; font-variant-numeric: tabular-nums; }
.score .tiny { font-size: 8px; }

/* mini shirts */
.shirts { position: relative; width: min(520px, 100%); aspect-ratio: 1.2; }
.shirt-mini { position: absolute; top: 10%; left: 50%; width: 52%; margin-left: -26%; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .45)); }
.shirt-mini svg { display: block; width: 100%; fill: var(--c); }
.shirt-mini span { position: absolute; left: 50%; top: 38%; transform: translate(-50%, -50%); font-family: var(--f-display); font-weight: 900; font-size: clamp(34px, 5vw, 72px); color: var(--green); }
.shirt-mini:nth-child(2) span { color: var(--ink); }

/* dive into the # */
.dive { height: 100svh; overflow: hidden; background: var(--ink); }
.dive__stage { position: absolute; inset: 0; display: grid; place-items: center; }
.dive__hash { width: min(52vh, 62vw); position: relative; z-index: 2; will-change: transform; }
.dive__word {
  position: absolute; top: 50%; z-index: 3;
  font-family: var(--f-display); font-weight: 800; font-size: clamp(28px, 5.4vw, 88px);
  letter-spacing: -.045em; line-height: 1; white-space: nowrap;
}
.dive__word--l { left: var(--gut); transform: translateY(-160%); }
.dive__word--r { right: var(--gut); transform: translateY(80%); }

/* stats */
.stats { background: var(--green); color: var(--ink); padding: clamp(80px, 11vw, 160px) var(--gut); display: grid; gap: clamp(48px, 7vw, 100px); --line: rgba(11, 11, 9, .22); }
.stats .label { color: var(--ink); }
.stats .label::before { color: var(--ink); }
.stats__head { display: grid; gap: 20px; }
.stats__title { font-family: var(--f-display); font-size: clamp(34px, 6vw, 96px); line-height: 1; letter-spacing: -.05em; max-width: 14ch; }
.stats__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stat { border-top: 1.5px solid var(--ink); padding: 20px 16px 0 0; display: grid; gap: 8px; align-content: start; }
.stat strong { font-family: var(--f-display); font-size: clamp(44px, 6.4vw, 104px); line-height: 1; letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.stat .unit { font-size: .5em; margin-left: 4px; letter-spacing: -.02em; }
.stat p { font-size: 16px; font-weight: 500; max-width: 18ch; }

/* process */
.process { padding: clamp(80px, 11vw, 160px) var(--gut); display: grid; gap: clamp(40px, 6vw, 80px); }
.process__head { display: grid; gap: 20px; }
.process__title { font-family: var(--f-display); font-size: clamp(32px, 5.2vw, 84px); line-height: 1.02; letter-spacing: -.045em; max-width: 16ch; }
.process__stack { display: grid; gap: 24px; }
.pcard {
  position: relative; min-height: min(72svh, 620px); border-radius: 32px; overflow: hidden;
  padding: clamp(28px, 4vw, 56px); display: grid; grid-template-rows: auto 1fr auto; gap: 16px;
  background: var(--ink-3); transform-origin: 50% 0;
}
.pcard--2 { background: var(--green); color: var(--ink); }
.pcard--3 { background: var(--paper); color: var(--ink); }
.pcard--4 { background: var(--ink-2); box-shadow: inset 0 0 0 1.5px var(--line); }
.pcard__n { font-size: 14px; font-weight: 600; }
.pcard h3 { font-family: var(--f-display); font-size: clamp(48px, 10vw, 170px); line-height: .9; letter-spacing: -.06em; align-self: end; }
.pcard p { font-size: clamp(17px, 1.6vw, 22px); max-width: 38ch; }
.pcard__shade { position: absolute; inset: 0; z-index: 3; background: #000; opacity: 0; pointer-events: none; border-radius: inherit; }
.pcard__hash { position: absolute; right: clamp(20px, 4vw, 56px); top: clamp(10px, 2vw, 28px); font-family: var(--f-display); font-weight: 900; font-size: clamp(90px, 16vw, 260px); line-height: 1; opacity: .12; }

/* uniform lab */
.lab { padding: clamp(80px, 11vw, 160px) var(--gut); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: center; background: var(--ink-2); }
.lab__copy { display: grid; gap: 22px; }
.lab__title { font-family: var(--f-display); font-size: clamp(32px, 4.6vw, 72px); line-height: 1.02; letter-spacing: -.045em; }
.lab__text { color: var(--muted); font-size: 17px; max-width: 44ch; }
.lab__group { border: 0; padding: 0; margin: 0; display: grid; gap: 12px; }
.lab__group legend { color: var(--muted); margin-bottom: 12px; padding: 0; }
.swatches { display: flex; gap: 12px; flex-wrap: wrap; }
.sw { width: 44px; height: 44px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1.5px rgba(242, 243, 238, .25); position: relative; transition: transform .4s var(--ease); }
.sw::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1.5px solid var(--green); opacity: 0; transform: scale(.8); transition: .4s var(--ease); }
.sw.is-on::after { opacity: 1; transform: scale(1); }
.sw:hover { transform: scale(1.08); }
.seg { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--ink-3); gap: 4px; justify-self: start; }
.seg__btn { height: 40px; padding: 0 18px; border-radius: 999px; font-size: 14px; font-weight: 500; transition: background-color .3s, color .3s; }
.seg__btn.is-on { background: var(--paper); color: var(--ink); }
.lab__fields { display: flex; gap: 12px; flex-wrap: wrap; }
.field { display: grid; gap: 8px; color: var(--muted); flex: 1 1 200px; }
.field--num { flex: 0 1 110px; }
.field input {
  height: 52px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--ink); color: var(--paper);
  padding: 0 16px; font-family: var(--f-display); font-weight: 600; font-size: 18px; text-transform: uppercase; width: 100%;
}
.field input:focus { outline: none; border-color: var(--green); }
.lab__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.lab__stage { position: relative; aspect-ratio: 1; max-width: 100%; display: grid; place-items: center; perspective: 1400px; }
.lab__glow { position: absolute; inset: 8%; border-radius: 50%; background: radial-gradient(circle, rgba(1, 199, 88, .35), transparent 65%); filter: blur(20px); will-change: transform, opacity; }
.tee { position: relative; width: 78%; aspect-ratio: 400 / 440; transform-style: preserve-3d; --tee: #0B0B09; --tee-ink: #F2F3EE; --print-green: var(--green); }
.tee__side { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.tee__back { transform: rotateY(180deg); }
.tee__svg { width: 100%; height: 100%; display: block; overflow: visible; filter: drop-shadow(0 40px 50px rgba(0, 0, 0, .5)); }
.tee__fill { fill: var(--tee); transition: fill .6s var(--ease); }
.tee__print { position: absolute; left: 50%; transform: translateX(-50%); transition: opacity .4s, transform .6s var(--ease); --logo-ink: var(--tee-ink); }
.tee__print--hash { top: 26%; width: 18%; }
.tee__print--logo { top: 30%; width: 50%; }
.tee .lg-hash path, .tee .lg-swoosh, .tee .lg-sparks path { fill: var(--print-green); transition: fill .6s; }
.tee .vz-logo .lg-word path { transition: fill .6s; }
.tee[data-print="hash"] .tee__print--logo, .tee[data-print="logo"] .tee__print--hash { opacity: 0; transform: translateX(-50%) scale(.8); }
.tee__backprint { position: absolute; left: 0; right: 0; top: 22%; display: grid; justify-items: center; gap: 4px; color: var(--tee-ink); transition: color .6s; }
.tee__backprint span { font-family: var(--f-display); font-weight: 800; font-size: clamp(14px, 2.2vw, 28px); letter-spacing: .06em; }
.tee__backprint strong { font-family: var(--f-display); font-weight: 900; font-size: clamp(70px, 12vw, 170px); line-height: .9; letter-spacing: -.06em; color: var(--print-green); transition: color .6s; }
.lab__tip { position: absolute; bottom: 0; left: 0; right: 0; text-align: center; color: var(--muted); }

/* cases */
.cases { padding: clamp(80px, 11vw, 160px) var(--gut); display: grid; gap: clamp(40px, 6vw, 72px); }
.cases__head { display: grid; gap: 20px; }
.cases__title { font-family: var(--f-display); font-size: clamp(30px, 4.6vw, 72px); line-height: 1.04; letter-spacing: -.045em; max-width: 18ch; }
.cases__list { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--line); }
.case {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto 80px; align-items: center; gap: 24px;
  padding: clamp(20px, 2.6vw, 36px) 12px; border-top: 1px solid var(--line); overflow: hidden; cursor: pointer;
  transition: color .5s var(--ease);
}
.case::before { content: ""; position: absolute; inset: 0; background: var(--green); transform: scaleY(0); transform-origin: bottom; transition: transform .6s var(--ease); z-index: 0; }
.case > * { position: relative; z-index: 1; }
.case:hover { color: var(--ink); }
.case:hover::before { transform: scaleY(1); }
.case__name { font-family: var(--f-display); font-weight: 800; font-size: clamp(26px, 4.4vw, 68px); letter-spacing: -.045em; line-height: 1; transition: transform .6s var(--ease); }
.case:hover .case__name { transform: translateX(16px); }
.case__tags { font-size: 13px; text-align: right; }
.case__year { font-size: 13px; text-align: right; }
.preview { position: fixed; left: 0; top: 0; z-index: 80; pointer-events: none; width: 340px; aspect-ratio: 4 / 5; margin: -212px 0 0 -170px; }
.preview__inner {
  width: 100%; height: 100%; border-radius: 24px; overflow: hidden; transform: scale(0);
  display: flex; flex-direction: column; justify-content: space-between; padding: 22px; position: relative;
  background: var(--pbg, var(--green)); color: var(--pfg, var(--ink));
}
.preview__hash { font-family: var(--f-display); font-weight: 900; font-size: 260px; line-height: .8; position: absolute; right: -30px; bottom: -40px; opacity: .2; }
.preview__inner strong { font-family: var(--f-display); font-size: 36px; line-height: 1; letter-spacing: -.04em; }

/* cta */
.cta { padding: clamp(80px, 11vw, 160px) var(--gut) clamp(60px, 8vw, 120px); display: grid; gap: clamp(32px, 5vw, 56px); overflow: hidden; }
.cta__title .word { white-space: nowrap; }
.cta__title { font-family: var(--f-display); font-weight: 900; font-size: clamp(44px, 10.5vw, 220px); line-height: .86; letter-spacing: -.06em; text-transform: uppercase; }
.cta__title .char { display: inline-block; will-change: transform; }
.cta__row { display: flex; align-items: center; gap: clamp(28px, 6vw, 96px); flex-wrap: wrap; }
.cta__circle {
  width: clamp(150px, 16vw, 210px); aspect-ratio: 1; border-radius: 50%; background: var(--green); color: var(--ink);
  display: grid; place-items: center; font-family: var(--f-display); font-weight: 800; font-size: clamp(16px, 1.6vw, 20px); line-height: 1.1;
  position: relative; overflow: hidden; isolation: isolate;
}
.cta__circle::before { content: ""; position: absolute; inset: 0; background: var(--paper); border-radius: 50%; transform: scale(0); transition: transform .6s var(--ease); z-index: -1; }
.cta__circle:hover::before { transform: scale(1); }
.cta__info { display: grid; gap: 16px; }
.cta__line { display: grid; gap: 2px; }
.cta__line .tiny { color: var(--muted); }
.cta__line strong { font-size: clamp(18px, 2vw, 26px); font-weight: 600; user-select: all; }
.cta__toast { color: var(--green); min-height: 1.4em; }

/* footer */
.footer { padding: clamp(60px, 8vw, 100px) var(--gut) 24px; border-top: 1px solid var(--line); display: grid; gap: clamp(40px, 6vw, 80px); overflow: hidden; }
.footer__top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer__claim { font-family: var(--f-display); font-weight: 600; font-size: clamp(24px, 3vw, 44px); line-height: 1.08; letter-spacing: -.035em; }
.footer__cols { display: grid; grid-template-columns: repeat(3, auto); gap: 24px 56px; }
.footer__cols div { display: grid; gap: 10px; align-content: start; }
.footer__cols a:hover, .totop:hover { color: var(--green); }
.totop { text-align: left; font-size: inherit; text-transform: inherit; letter-spacing: inherit; }
.footer__logo { width: 100%; }
.footer__legal { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--muted); }

/* ===== responsive ===== */
/* horizontal services on medium screens: tighter panels */
@media (min-width: 768px) and (max-width: 1100px) {
  .panel { gap: 28px; padding-bottom: 60px; }
  .phone { width: min(250px, 30vw); }
  .phone__notifs { width: 190px; right: 80%; }
  .notif { font-size: 12px; }
  .panel__text { font-size: 15px; }
  .score { right: -8px; width: 104px; height: 104px; }
}
@media (min-width: 768px) and (max-height: 780px) {
  .panel { padding-top: 84px; padding-bottom: 56px; }
  .panel__copy { gap: 12px; }
  .panel__list li { padding: 8px 0; font-size: 14px; }
  .panel__title { font-size: clamp(26px, 3vw, 44px); }
  .phone { width: min(230px, 28vw); }
}
@media (max-width: 767px) {
  .services__track { flex-direction: column; width: 100%; height: auto; }
  .panel, .panel--intro { width: 100%; height: auto; grid-template-columns: 1fr; padding: 72px var(--gut); }
  .panel__visual { min-height: 420px; }
  .phone__notifs { right: auto; left: -8%; top: auto; bottom: 8%; width: 200px; }
  .services__progress { display: none; }
  .score { right: 8px; bottom: -40px; width: 104px; height: 104px; }
}
@media (max-width: 860px) {
  .stats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
  .lab { grid-template-columns: 1fr; }
  .case { grid-template-columns: minmax(0, 1fr) auto; }
  .case__tags { display: none; }
  .preview { display: none; }
  .footer__cols { grid-template-columns: repeat(2, auto); }
  .dive__word--l { transform: translateY(-260%); }
  .dive__word--r { transform: translateY(170%); }
}
@media (max-width: 480px) {
  .stats__grid { grid-template-columns: 1fr; }
  .phone__notifs { display: none; }
}
