/* =========================================================================
   reDesign - sections: nav, hero, services, work, process, stats,
   testimonials, contact, footer + scroll-reveal primitives
   ========================================================================= */

/* ---- scroll reveal primitives (visible by default; hidden only under .anim) - */
.anim .reveal { opacity: 0; will-change: transform, opacity; }
.anim .reveal.in { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .anim .reveal { transition: opacity .55s ease; }
  .anim .r-up    { transform: translateY(calc(60px * var(--motion))); transition: transform .7s cubic-bezier(.16,1.2,.3,1), opacity .6s ease; }
  .anim .r-pop   { transform: scale(calc(1 - 0.18 * var(--motion))) rotate(calc(-4deg * var(--motion))); transition: transform .6s cubic-bezier(.34,1.7,.5,1), opacity .5s ease; }
  .anim .r-stamp { transform: scale(calc(1 + 0.5 * var(--motion))) rotate(calc(8deg * var(--motion))); transition: transform .45s cubic-bezier(.5,1.6,.4,1), opacity .3s ease; }
  .anim .r-left  { transform: translateX(calc(-90px * var(--motion))) rotate(calc(-6deg * var(--motion))); transition: transform .7s cubic-bezier(.34,1.6,.4,1), opacity .5s ease; }
  .anim .r-right { transform: translateX(calc(90px * var(--motion))) rotate(calc(6deg * var(--motion))); transition: transform .7s cubic-bezier(.34,1.6,.4,1), opacity .5s ease; }
  .anim .reveal.in { transform: none; }
}
.r-d1 { transition-delay: .06s; } .r-d2 { transition-delay: .12s; }
.r-d3 { transition-delay: .18s; } .r-d4 { transition-delay: .24s; }
.r-d5 { transition-delay: .30s; } .r-d6 { transition-delay: .36s; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }
section { position: relative; }
.section-pad { padding-block: clamp(72px, 11vw, 160px); }

/* =========================================================================
   NAV
   ========================================================================= */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 8000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px var(--gutter);
  mix-blend-mode: difference; color: var(--bone);
  pointer-events: none;
}
.nav a, .nav button { pointer-events: auto; }
.nav__logo {
  font-family: var(--f-head); font-size: 26px; text-transform: uppercase;
  letter-spacing: -0.02em; line-height: 1;
}
.nav__logo b { color: var(--c1); -webkit-text-stroke: 0; }
.nav__links { display: flex; gap: 22px; align-items: center; }
.nav__links a {
  font-family: var(--f-mono); font-size: 12px; letter-spacing: .12em;
  text-transform: uppercase;
}
.nav__links a.cta {
  border: 2px solid var(--bone); padding: 7px 13px; border-radius: 999px;
}
@media (max-width: 720px){ .nav__links a:not(.cta){ display:none; } }

/* =========================================================================
   HERO
   ========================================================================= */
.hero {
  position: relative; min-height: 100svh; overflow: clip;
  display: grid; place-items: center;
  background: var(--ink);
  padding-top: 70px;
  perspective: 1400px;
}
.hero__bg-word {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-family: var(--f-head); text-transform: uppercase;
  font-size: 34vw; color: transparent; -webkit-text-stroke: 2px rgba(199,242,61,.16);
  z-index: 0; pointer-events: none; line-height: 1; white-space: nowrap;
}
.hero__stage {
  position: relative; z-index: 3; width: 100%; max-width: 1180px;
  padding-inline: var(--gutter); text-align: center;
}
.hero__lock {
  position: relative; display: inline-block; line-height: .8;
}
.hero__lock .l1 {
  font-family: var(--f-head); text-transform: uppercase;
  font-size: clamp(82px, 19vw, 320px); color: var(--bone);
  letter-spacing: -0.02em; position: relative;
}
.hero__lock .l1 .re { color: var(--c1); }
.hero__lock .l1 .design { color: var(--bone); }
/* layered offset ghosts of the word for depth */
.hero__lock .ghost {
  position: absolute; inset: 0; z-index: -1;
  -webkit-text-stroke: 2px var(--c2); color: transparent;
}
.hero__lock .ghost.g2 { -webkit-text-stroke-color: var(--c3); }

.hero__tag {
  font-family: var(--f-serif); font-style: italic;
  font-size: clamp(20px, 2.9vw, 38px); color: var(--bone);
  max-width: 20ch; margin: 0.35em auto 0; line-height: 1.06;
}
.hero__tag em { color: var(--c1); font-style: italic; }
.hero__sub {
  font-family: var(--f-mono); font-size: clamp(11px, 1.2vw, 14px);
  letter-spacing: .2em; text-transform: uppercase; color: var(--c3);
  margin-top: 22px;
}
.hero__cta { margin-top: 30px; display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* floating collage elements */
.collage { position: absolute; inset: 0; z-index: 2; pointer-events: none; transform-style: preserve-3d; }
.collage > * { position: absolute; pointer-events: auto; will-change: transform; }
.float-card {
  border: 3px solid var(--ink); box-shadow: 7px 7px 0 rgba(0,0,0,.6);
}
.c-photo { width: clamp(120px, 14vw, 200px); aspect-ratio: 3/4; }
.c-photo.wide { aspect-ratio: 4/3; width: clamp(150px, 17vw, 240px); }

.badge {
  width: 116px; height: 116px; border-radius: 50%;
  display: grid; place-items: center; text-align: center;
  font-family: var(--f-disp); font-weight: 800; text-transform: uppercase;
  font-size: 14px; line-height: .95; color: var(--ink);
  border: 3px solid var(--ink); box-shadow: 4px 4px 0 rgba(0,0,0,.5);
}
.badge.spin { animation: spin 14s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.badge__img { height: 64px; width: auto; display: block; }

.scribble { position: absolute; pointer-events: none; }
.arrow-doodle { position: absolute; }

/* =========================================================================
   SERVICES
   ========================================================================= */
.services { background: var(--bone); color: var(--ink); }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(34px, 5vw, 70px); }
.sec-head__title { font-family: var(--f-head); text-transform: uppercase; font-size: clamp(46px, 9vw, 150px); line-height: .92; letter-spacing: -0.02em; }
.sec-head__title .it { font-family: var(--f-serif); font-style: italic; text-transform: none; letter-spacing: 0; }
.sec-head__meta { font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; max-width: 30ch; }

.svc-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(14px, 1.6vw, 24px); }
.svc {
  position: relative; border: 3px solid var(--ink); border-radius: 4px;
  padding: 22px 22px 26px; overflow: hidden; min-height: 300px;
  display: flex; flex-direction: column; justify-content: space-between;
  box-shadow: 8px 8px 0 var(--ink);
  transition: box-shadow .4s cubic-bezier(.2,1.3,.25,1);
  transform-style: preserve-3d;
}
.svc__no, .svc__name, .svc__desc, .svc__tags { transition: transform .42s cubic-bezier(.2,1.3,.25,1), -webkit-text-stroke .28s ease, color .28s ease; }
.svc__deco { transition: transform .5s cubic-bezier(.34,1.7,.4,1); will-change: transform; }
.svc.is-hover, .svc:hover { box-shadow: 20px 24px 0 var(--ink); z-index: 4; }
.svc.is-hover .svc__name, .svc:hover .svc__name { transform: translate(10px, -5px); -webkit-text-stroke: 2.5px var(--name-stroke, currentColor); color: transparent; }
.svc.is-hover .svc__no,   .svc:hover .svc__no   { transform: translateX(7px); }
.svc.is-hover .svc__desc, .svc:hover .svc__desc { transform: translate(10px, 6px); }
.svc.is-hover .svc__tags, .svc:hover .svc__tags { transform: translate(10px, 9px); }
.svc.is-hover .svc__deco, .svc:hover .svc__deco { transform: scale(1.28) rotate(18deg); }
.svc__no { font-family: var(--f-mono); font-size: 13px; letter-spacing: .1em; }
.svc__name { font-family: var(--f-head); text-transform: uppercase; font-size: clamp(30px, 3.4vw, 52px); line-height: .86; margin-top: 8px; }
.svc__desc { font-size: 15px; line-height: 1.35; max-width: 26ch; }
.svc__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.svc__tags span { font-family: var(--f-mono); font-size: 10px; text-transform: uppercase; letter-spacing: .08em; border: 1.5px solid currentColor; padding: 3px 7px; border-radius: 999px; }
.svc__deco { position: absolute; pointer-events: none; }
.svc.s-a { grid-column: span 7; background: var(--c1); color: var(--ink); --name-stroke: var(--ink); }
.svc.s-b { grid-column: span 5; background: var(--ink); color: var(--bone); --name-stroke: var(--c1); }
.svc.s-c { grid-column: span 5; background: var(--c2); color: var(--bone); --name-stroke: var(--bone); }
.svc.s-d { grid-column: span 7; background: var(--c3); color: var(--ink); --name-stroke: var(--ink); }
@media (max-width: 860px){ .svc { grid-column: 1 / -1 !important; min-height: 240px; } }

/* =========================================================================
   WORK GALLERY
   ========================================================================= */
.work { background: var(--violet); color: var(--bone); --c1:#C7F23D; }
.work .sec-head__title { color: var(--bone); }
.gallery {
  column-count: 3; column-gap: clamp(16px, 2vw, 30px);
}
@media (max-width: 980px){ .gallery { column-count: 2; } }
@media (max-width: 600px){ .gallery { column-count: 1; } }
.card {
  break-inside: avoid; margin-bottom: clamp(16px, 2vw, 30px);
  background: var(--bone); color: var(--ink);
  border: 3px solid var(--ink); border-radius: 4px; overflow: hidden;
  box-shadow: 7px 7px 0 rgba(0,0,0,.45);
  transition: box-shadow .22s;
  position: relative; transform-style: preserve-3d;
}
.card.is-hover, .card:hover { box-shadow: 16px 18px 0 rgba(0,0,0,.5); z-index: 5; }
.card__thumb { position: relative; aspect-ratio: var(--ar, 4/3); }
.card__thumb .ph { position: absolute; inset: 0; }
.card__badge {
  position: absolute; top: 10px; left: 10px; z-index: 3;
  font-family: var(--f-mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase;
  background: var(--ink); color: var(--bone); padding: 4px 8px; border-radius: 999px;
}
.card__like {
  position: absolute; top: 10px; right: 10px; z-index: 3;
  width: 34px; height: 34px; border-radius: 50%; border: none;
  background: rgba(255,255,255,.9); color: var(--ink);
  display: grid; place-items: center; cursor: pointer;
  transition: transform .15s cubic-bezier(.34,1.8,.5,1), background-color .2s, color .2s;
}
.card__like svg { width: 17px; height: 17px; }
.card__like.liked { background: var(--magenta); color: #fff; }
.card__like:active { transform: scale(.8); }
.card__like.burst { animation: burst .4s cubic-bezier(.34,1.7,.5,1); }
@keyframes burst { 0%{ transform: scale(1);} 40%{ transform: scale(1.4);} 100%{ transform: scale(1);} }

.card__meta { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; gap: 10px; }
.card__client { display: flex; align-items: center; gap: 10px; min-width: 0; }
.card__avatar { width: 30px; height: 30px; border-radius: 50%; flex: none; border: 2px solid var(--ink); }
.card__name { font-family: var(--f-disp); font-weight: 700; font-size: 15px; line-height: 1; }
.card__role { font-family: var(--f-mono); font-size: 10px; letter-spacing: .06em; opacity: .7; text-transform: uppercase; }
.card__stats { display: flex; gap: 12px; font-family: var(--f-mono); font-size: 12px; align-items: center; }
.card__stats span { display: inline-flex; align-items: center; gap: 4px; }
.card__stats svg { width: 13px; height: 13px; }
.card__title-bar {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 30px 14px 12px; color: var(--bone);
  background: linear-gradient(transparent, rgba(0,0,0,.78));
  transform: translateY(8px); opacity: 0; transition: transform .25s, opacity .25s;
}
.card.is-hover .card__title-bar, .card:hover .card__title-bar { transform: none; opacity: 1; }
.card__work-title { font-family: var(--f-head); text-transform: uppercase; font-size: clamp(20px,2.2vw,30px); line-height: .9; }

/* hide tiles until the engine plays their entrance (JS owns opacity thereafter;
   static/reduced-motion paths force them visible) */
html.anim .svc, html.anim .card { opacity: 0; }

/* work category filter bar */
.work-filter { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: clamp(22px, 3vw, 40px); }
.work-filter button {
  font-family: var(--f-disp); font-weight: 800; text-transform: uppercase;
  font-size: clamp(12px, 1.3vw, 15px); letter-spacing: .02em;
  color: var(--bone); background: transparent; border: 2.5px solid var(--bone);
  padding: 9px 17px; border-radius: 999px; cursor: pointer;
  transition: background-color .18s, color .18s, border-color .18s, transform .15s cubic-bezier(.34,1.8,.5,1);
}
.work-filter button:hover { transform: translateY(-2px) rotate(-1.5deg); }
.work-filter button.on { background: var(--c1); color: var(--ink); border-color: var(--c1); box-shadow: 4px 4px 0 var(--ink); }
.work-filter .count { font-family: var(--f-mono); font-weight: 400; font-size: .78em; opacity: .6; margin-left: .45em; }

/* stat pills with animated counters */
.card__stats .stat-pill { display: inline-flex; align-items: center; gap: 5px; }
.card__stats .stat-num { font-weight: 700; font-variant-numeric: tabular-nums; }

/* idle life on service cards */
.svc__idle { position: absolute; pointer-events: none; z-index: 1; }
.redraw path { stroke-dasharray: 100; }
@media (prefers-reduced-motion: no-preference) {
  .redraw path { animation: redraw 5.5s ease-in-out infinite; }
}
@keyframes redraw {
  0% { stroke-dashoffset: 100; } 38% { stroke-dashoffset: 0; }
  72% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -100; }
}

/* =========================================================================
   PROCESS
   ========================================================================= */
.process { background: var(--ink); color: var(--bone); }
.steps { display: grid; gap: clamp(14px, 2vw, 22px); }
.step {
  display: grid; grid-template-columns: clamp(90px,12vw,200px) 1fr auto; gap: clamp(16px,3vw,46px);
  align-items: center; padding: clamp(20px,3vw,38px) 0;
  border-top: 3px solid color-mix(in srgb, var(--bone) 22%, transparent);
}
.step:last-child { border-bottom: 3px solid color-mix(in srgb, var(--bone) 22%, transparent); }
.step__no { font-family: var(--f-head); font-size: clamp(60px,11vw,180px); line-height: .8; -webkit-text-stroke: 2px var(--bone); color: transparent; transition: color .3s, -webkit-text-stroke-color .3s; }
.step:hover .step__no { color: var(--step-c, var(--c1)); -webkit-text-stroke-color: var(--step-c, var(--c1)); }
.step__body h3 { font-family: var(--f-disp); font-weight: 800; text-transform: uppercase; font-size: clamp(24px,3vw,46px); margin: 0 0 6px; line-height: .95; }
.step__body p { margin: 0; max-width: 46ch; color: color-mix(in srgb, var(--bone) 80%, transparent); font-size: clamp(15px,1.3vw,18px); }
.step__chip { font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; border: 2px solid var(--step-c, var(--c1)); color: var(--step-c, var(--c1)); padding: 8px 14px; border-radius: 999px; white-space: nowrap; }
@media (max-width: 760px){ .step { grid-template-columns: auto 1fr; } .step__chip { display: none; } }

/* =========================================================================
   STATS
   ========================================================================= */
.stats { background: var(--c2); color: var(--ink); overflow: clip; }
.stats .sec-head__title { color: var(--ink); }
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px,2vw,26px); }
@media (max-width: 820px){ .stat-grid { grid-template-columns: 1fr; } }
.stat {
  border: 3px solid var(--ink); border-radius: 4px; padding: 26px 24px 30px;
  background: var(--bone); box-shadow: 8px 8px 0 var(--ink); position: relative; overflow: hidden;
}
.stat:nth-child(2){ background: var(--ink); color: var(--bone); }
.stat:nth-child(3){ background: var(--c1); }
.stat__num { font-family: var(--f-head); font-size: clamp(70px,11vw,150px); line-height: .82; letter-spacing: -0.02em; }
.stat__num .suffix { font-size: .5em; }
.stat__label { font-family: var(--f-disp); font-weight: 800; text-transform: uppercase; font-size: clamp(16px,1.6vw,22px); margin-top: 6px; }
.stat__sub { font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; margin-top: 8px; opacity: .75; }

/* =========================================================================
   TESTIMONIALS
   ========================================================================= */
.testi { background: var(--c4); color: var(--ink); overflow: clip; }
.testi .sec-head__title { color: var(--ink); }
.notes { display: grid; grid-template-columns: repeat(12,1fr); gap: clamp(18px,2.4vw,34px); align-items: start; }
.note {
  grid-column: span 4; position: relative; padding: 26px 24px 30px;
  font-family: var(--f-body); box-shadow: 6px 9px 18px rgba(0,0,0,.18);
}
.note p { font-family: var(--f-serif); font-style: italic; font-size: clamp(19px,1.7vw,26px); line-height: 1.18; margin: 6px 0 18px; }
.note .who { font-family: var(--f-disp); font-weight: 800; text-transform: uppercase; font-size: 15px; }
.note .who span { display: block; font-family: var(--f-mono); font-weight: 400; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; opacity: .7; }
.note .quote-mark { font-family: var(--f-head); font-size: 60px; line-height: .5; }
.note.n-paper { background: var(--bone); }
.note.n-pink { background: var(--c2); color: var(--bone); }
.note.n-cyan { background: var(--c3); }
.note.n-lime { background: var(--c1); }
.note.n-violet { background: var(--c5); color: var(--bone); }
.note.n-white { background: #fff; }
.note .tape { top: -16px; left: 50%; margin-left: -60px; }
@media (max-width: 900px){ .note { grid-column: span 6; } }
@media (max-width: 560px){ .note { grid-column: 1 / -1; } }

/* =========================================================================
   CONTACT / CTA
   ========================================================================= */
.contact { background: var(--ink); color: var(--bone); overflow: clip; }
.contact__big {
  font-family: var(--f-head); text-transform: uppercase; text-align: center;
  font-size: clamp(58px, 16vw, 280px); line-height: .8; letter-spacing: -0.02em;
}
.contact__big .o { color: var(--c1); }
.contact__big .line2 { color: transparent; -webkit-text-stroke: 2px var(--bone); }
.contact__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(30px,5vw,70px); margin-top: clamp(40px,6vw,80px); align-items: start; }
@media (max-width: 860px){ .contact__grid { grid-template-columns: 1fr; } }
.contact__lead { font-family: var(--f-serif); font-style: italic; font-size: clamp(22px,2.4vw,34px); line-height: 1.1; max-width: 18ch; }
.form { display: grid; gap: 14px; }
.field { display: grid; gap: 6px; }
.field label { font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--c3); }
.field input, .field textarea {
  font-family: var(--f-body); font-size: 17px; color: var(--bone);
  background: transparent; border: none; border-bottom: 2px solid color-mix(in srgb, var(--bone) 35%, transparent);
  padding: 10px 2px; outline: none; transition: border-color .2s;
}
.field input:focus, .field textarea:focus { border-color: var(--c1); }
.field textarea { resize: vertical; min-height: 80px; }
.form .btn { justify-self: start; margin-top: 8px; }
.form.sent .field, .form.sent > .btn { display: none; }

/* success state - bold lime confirmation card */
.form__ok {
  display: none; position: relative; isolation: isolate;
  background: var(--c1); color: var(--ink);
  border-radius: 16px; padding: clamp(26px, 4vw, 42px);
  box-shadow: 7px 7px 0 rgba(0, 0, 0, .4);
}
.form.sent .form__ok { display: block; animation: form-ok-pop .55s cubic-bezier(.34, 1.56, .5, 1) both; }
.form__ok::after {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: radial-gradient(circle at 1.5px 1.5px, rgba(0, 0, 0, .13) 1.5px, transparent 0) 0 0 / 14px 14px;
  opacity: .55;
}
.form__ok-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 54px; height: 54px; border-radius: 999px;
  background: var(--ink); color: var(--c1);
  font-size: 28px; font-weight: 800; line-height: 1;
  margin-bottom: 16px; transform: rotate(-7deg);
}
.form__ok-title {
  font-family: var(--f-head); text-transform: uppercase;
  font-size: clamp(32px, 4.6vw, 56px); line-height: .88; letter-spacing: -.01em; margin: 0 0 10px;
}
.form__ok-copy {
  font-family: var(--f-serif); font-style: italic;
  font-size: clamp(17px, 1.8vw, 22px); line-height: 1.25; margin: 0; max-width: 30ch;
  color: color-mix(in srgb, var(--ink) 82%, transparent);
}
.form__err {
  display: none; margin-top: 14px;
  font-family: var(--f-mono); font-size: 13px; line-height: 1.5; color: var(--c2);
}
.form__err a { color: inherit; text-decoration: underline; }
@keyframes form-ok-pop {
  from { opacity: 0; transform: translateY(16px) scale(.96); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) { .form.sent .form__ok { animation: none; } }

.socials { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.socials a {
  font-family: var(--f-disp); font-weight: 700; text-transform: uppercase; font-size: 14px;
  border: 2px solid var(--bone); padding: 9px 15px; border-radius: 999px;
  transition: background-color .15s, color .15s, transform .15s cubic-bezier(.34,1.8,.5,1);
}
.socials a:hover { background: var(--c1); color: var(--ink); border-color: var(--c1); transform: translateY(-3px) rotate(-2deg); }

/* =========================================================================
   FINALE - closing poster footer
   ========================================================================= */
.fin {
  position: relative; overflow: clip;
  background: var(--c1); color: var(--ink);
  isolation: isolate;
}

/* closing marquee flourish */
.fin__strip .marquee { border-top: none; }
.fin__strip .marquee:first-child { border-top: 4px solid var(--ink); }

.fin__body {
  position: relative;
  padding: clamp(56px, 8vw, 120px) 0 clamp(26px, 3.5vw, 46px);
}

/* collage deco layer */
.fin__deco { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: clip; }
.fin__deco .sticker { will-change: transform; }
.fin__halftone {
  position: absolute; width: 240px; height: 240px; color: var(--ink);
  opacity: .14; background-image: radial-gradient(currentColor 26%, transparent 27%);
  background-size: 13px 13px;
}
.fin__scribble { position: absolute; will-change: transform; }

.fin__inner { position: relative; z-index: 1; text-align: center; }

/* overline */
.fin__over {
  font-family: var(--f-body); font-size: clamp(15px, 1.7vw, 22px);
  text-transform: uppercase; letter-spacing: .04em; font-weight: 500;
  margin: 0 0 clamp(8px, 1.2vw, 16px);
}
.fin__over .serif-it { font-size: 1.25em; text-transform: none; letter-spacing: 0; }

/* blown-up wordmark */
.fin__mark-wrap {
  --mark-size: clamp(74px, 21vw, 400px);
  position: relative; display: inline-block;
  pointer-events: none;
  margin: 0 auto clamp(22px, 3vw, 44px);
  line-height: .8;
}
.fin__mark {
  position: relative; z-index: 2; margin: 0;
  font-family: var(--f-head); font-size: var(--mark-size);
  text-transform: uppercase; letter-spacing: -0.02em; line-height: .8;
  display: inline-block; white-space: nowrap;
}
.fin__mark .re { color: var(--c2); }
.fin__mark .d  { color: var(--ink); }
.fin__ghost {
  position: absolute; left: 50%; top: 50%; z-index: 1;
  font-family: var(--f-head); font-size: var(--mark-size);
  text-transform: uppercase; letter-spacing: -0.02em; line-height: .8;
  white-space: nowrap; color: transparent; pointer-events: none;
}
.fin__ghost.g1 { -webkit-text-stroke: 2px var(--c3); transform: translate(calc(-50% - 12px), calc(-50% + 9px)); }
.fin__ghost.g2 { -webkit-text-stroke: 2px var(--c5); transform: translate(calc(-50% + 12px), calc(-50% - 9px)); }
.fin__underline { position: absolute; left: 50%; bottom: -6%; transform: translateX(-50%); width: 78%; z-index: 3; pointer-events: none; }

/* CTA row */
.fin__cta {
  display: flex; align-items: center; justify-content: center;
  gap: clamp(18px, 3vw, 44px); flex-wrap: wrap;
  margin-bottom: clamp(40px, 6vw, 80px);
}
.fin__mail {
  font-family: var(--f-disp); font-weight: 800; line-height: 1;
  font-size: clamp(22px, 3.6vw, 56px); color: var(--ink);
  background-image: linear-gradient(var(--c2), var(--c2));
  background-size: 100% 7px; background-position: 0 100%; background-repeat: no-repeat;
  transition: background-size .32s cubic-bezier(.5,1.4,.4,1), color .2s; padding: 2px 4px;
}
.fin__mail:hover { color: var(--bone); background-size: 100% 100%; }

/* columns: nav + social */
.fin__cols {
  display: grid; grid-template-columns: 1.3fr .7fr; gap: clamp(30px, 5vw, 72px);
  text-align: left; align-items: start;
  margin-bottom: clamp(36px, 5vw, 64px);
}
.fin__cols--solo { grid-template-columns: 1fr; }
@media (max-width: 800px) { .fin__cols { grid-template-columns: 1fr; } }

.fin__nav { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; }
.fin__nav a {
  position: relative; z-index: 0; isolation: isolate;
  display: inline-flex; align-items: center; gap: .22em;
  width: fit-content; max-width: 100%; white-space: nowrap;
  font-family: var(--f-head); text-transform: uppercase; letter-spacing: -0.01em;
  font-size: clamp(34px, 5.2vw, 76px); line-height: 1; color: var(--ink);
  padding: .06em .16em;
  transition: color .25s, transform .32s cubic-bezier(.34,1.7,.5,1);
}
.fin__nav a i {
  font-style: normal; font-size: .56em; opacity: 0; transform: translateX(-10px);
  transition: opacity .3s, transform .3s cubic-bezier(.34,1.7,.5,1);
}
.fin__nav a::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ink);
  transform: scaleX(0); transform-origin: left;
  transition: transform .32s cubic-bezier(.5,1.4,.4,1);
}
.fin__nav a:hover { color: var(--bone); transform: translateX(8px); }
.fin__nav a:hover::before { transform: scaleX(1); }
.fin__nav a:hover i { opacity: 1; transform: translateX(0); }

.fin__social-label {
  display: block; font-family: var(--f-mono); font-size: 11px;
  letter-spacing: .16em; text-transform: uppercase; margin-bottom: 14px; opacity: .65;
}
.fin__social-list { display: flex; flex-wrap: wrap; gap: 10px; }
.fin__sticker {
  display: inline-flex; align-items: center; gap: .4em;
  font-family: var(--f-disp); font-weight: 800; text-transform: uppercase;
  font-size: clamp(13px, 1.4vw, 16px); letter-spacing: .01em;
  background: var(--s, var(--c2)); color: var(--ink);
  border: 2.5px solid var(--ink); border-radius: 999px; padding: 9px 16px;
  box-shadow: 3px 3px 0 var(--ink); will-change: transform;
  transition: transform .15s cubic-bezier(.34,1.8,.5,1), box-shadow .15s;
}
.fin__sticker:nth-child(odd) { transform: rotate(-2.5deg); }
.fin__sticker:nth-child(even) { transform: rotate(2deg); }
.fin__sticker:hover { transform: translateY(-5px) rotate(-3deg) scale(1.04); box-shadow: 6px 7px 0 var(--ink); }
.fin__sticker::after { content: "↗"; font-size: .9em; }

/* base row */
.fin__base {
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px 26px; flex-wrap: wrap; text-align: left;
  padding-top: clamp(20px, 2.6vw, 30px); border-top: 3px solid rgba(0,0,0,.16);
}
.fin__saudi { flex: none; height: 58px; width: auto; display: block; }
.fin__meta {
  font-family: var(--f-mono); font-size: 12px; letter-spacing: .06em;
  text-transform: uppercase; display: flex; gap: 9px; flex-wrap: wrap; align-items: center;
}
.fin__meta b { font-weight: 700; font-variant-numeric: tabular-nums; }
.fin__dot { opacity: .4; }
.fin__quip {
  margin: 0; font-family: var(--f-serif); font-style: italic;
  font-size: clamp(15px, 1.5vw, 20px); flex: 1 1 220px; min-width: 180px;
}
.fin__top {
  flex: none; display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 1px; width: 98px; height: 98px; border-radius: 50%;
  background: var(--ink); color: var(--c1); border: 3px solid var(--ink);
  box-shadow: 4px 4px 0 rgba(0,0,0,.4); overflow: hidden;
  font-family: var(--f-mono); font-size: 9.5px; letter-spacing: .12em; text-transform: uppercase;
  transition: transform .16s cubic-bezier(.34,1.8,.5,1), box-shadow .16s;
}
.fin__top:hover { transform: translateY(-4px) rotate(5deg); box-shadow: 7px 7px 0 rgba(0,0,0,.4); }
.fin__top-arrow { font-size: 28px; line-height: 1; }
@media (prefers-reduced-motion: no-preference) {
  .fin__top:hover .fin__top-arrow { animation: launch .65s cubic-bezier(.5,0,.3,1); }
}
@keyframes launch {
  0% { transform: translateY(0); }
  45% { transform: translateY(-58px); }
  46% { transform: translateY(58px); }
  100% { transform: translateY(0); }
}

/* frozen-CSS fallback: keep wordmark letters visible */
html.no-css .fin__mark span { opacity: 1 !important; transform: none !important; }

@media (max-width: 560px) {
  .fin__base { flex-direction: column; align-items: flex-start; }
  .fin__cta { gap: 16px; }
}

/* generic rotation helpers used inline */
.rot-1{ transform: rotate(-3deg);} .rot-2{ transform: rotate(2.5deg);} .rot-3{ transform: rotate(-1.5deg);}
.rot-4{ transform: rotate(4deg);} .rot-5{ transform: rotate(-5deg);}

/* =========================================================================
   DECORATIVE BG WORDS (scroll-scrubbed, behind content)
   ========================================================================= */
.section-pad > .wrap { position: relative; z-index: 1; }
.bgword {
  position: absolute; top: 50%; left: 50%; translate: -50% -50%; z-index: 0;
  font-family: var(--f-head); font-size: 34vw; line-height: .8; white-space: nowrap;
  text-transform: uppercase; pointer-events: none; color: transparent;
  -webkit-text-stroke: 2px var(--ink); opacity: .07; will-change: transform;
}
.bgword--light { -webkit-text-stroke-color: var(--bone); opacity: .06; }

/* =========================================================================
   PINNED MANIFESTO
   ========================================================================= */
.pin-wrap { position: relative; height: 300vh; }
.pin-stage {
  position: sticky; top: 0; height: 100vh; overflow: hidden;
  display: grid; place-items: center; background: var(--ink);
}
.pin-line {
  margin: 0; max-width: 16ch; text-align: center; position: relative; z-index: 1;
  font-family: var(--f-head); text-transform: uppercase; color: var(--bone);
  font-size: clamp(46px, 9vw, 150px); line-height: .9;
  display: flex; flex-wrap: wrap; gap: .04em .28em; justify-content: center;
  padding-inline: var(--gutter);
}
.pin-word { display: inline-block; will-change: transform, opacity; }
.pin-word.pin-accent { color: var(--c1); }
.pin-bgword {
  position: absolute; top: 50%; left: 50%; translate: -50% -50%; z-index: 0;
  font-family: var(--f-head); font-size: 42vw; line-height: .8; white-space: nowrap;
  text-transform: uppercase; pointer-events: none; color: transparent;
  -webkit-text-stroke: 2px rgba(255,255,255,.05); will-change: transform;
}
.pin-hint {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 1;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--c1);
}
.motion-live .pin-word { opacity: 0; }
html:not(.motion-live) .pin-wrap  { height: auto; }
html:not(.motion-live) .pin-stage { position: static; height: auto; padding: 14vh 0; }
html:not(.motion-live) .pin-word  { opacity: 1 !important; transform: none !important; }
html:not(.motion-live) .pin-hint  { display: none; }

/* =========================================================================
   FROZEN CSS TIMELINE FALLBACK (print / reduced-motion / hidden tab)
   Force the visible end-state with no transitions so content never sticks at 0.
   ========================================================================= */
html.no-css .reveal   { opacity: 1 !important; transform: none !important; transition: none !important; }
html.no-css .asm      { opacity: 1 !important; scale: none !important; rotate: none !important; animation: none !important; }
html.no-css .sec-head__title span,
html.no-css [data-stagger] span { opacity: 1 !important; transform: none !important; }
html.no-css .pin-word { opacity: 1 !important; transform: none !important; }
html.no-css .pin-wrap { height: auto !important; }
html.no-css .pin-stage { position: static !important; height: auto !important; padding: 14vh 0 !important; }
html.no-css .pin-hint { display: none !important; }

/* =========================================================================
   CARD 3D TILT (pointer-reactive)
   ========================================================================= */
/* card thumb (3D handled at card level by the tiles engine) */
.card__thumb { transform-style: preserve-3d; }

/* GPU promotion for the continuously-animating section tiles */
.svc, .card { backface-visibility: hidden; }

/* =========================================================================
   RESPONSIVE - recompose the maximalist layers cleanly, never collide
   ========================================================================= */

/* hero lockup: keep a safe minimum so it never overflows narrow screens */
@media (max-width: 1024px) {
  .hero__lock .l1 { font-size: clamp(64px, 20vw, 240px); }
}

/* tablet portrait & down: thin out the hero collage so it can't land on copy */
@media (max-width: 860px) {
  .collage .layer[data-depth="0.62"],
  .collage .layer[data-depth="0.36"],
  .collage svg.layer { display: none; }              /* drop the densest mid-layers */
  .hero__bg-word { font-size: 46vw; opacity: .9; }
}

/* phone: hero becomes a clean, centered lockup - no floating collage over text */
@media (max-width: 680px) {
  .collage { display: none; }
  .hero { padding-top: 88px; min-height: 92svh; }
  .hero__lock .l1 { font-size: clamp(58px, 21vw, 150px); }
  .hero__tag { max-width: 24ch; }

  /* footer: hide free-floating deco stickers/tape that would overlap the wordmark */
  .fin__deco .floaty, .fin__deco .tape { display: none; }
  .fin__halftone { opacity: .08; }

  /* services: hide corner idle marks on small cards so they never cross the copy */
  .svc__idle { display: none; }
  .svc { min-height: 0; padding: 20px 20px 24px; }
  .svc__deco { opacity: .9; }

  /* tighten oversized section heads on phones */
  .sec-head { gap: 16px; }
  .sec-head__title { font-size: clamp(44px, 13vw, 96px); }

  /* keep the giant footer wordmark from bleeding off-screen */
  .fin__mark-wrap { --mark-size: clamp(58px, 22vw, 150px); }
  .fin__ghost.g1 { transform: translate(calc(-50% - 7px), calc(-50% + 5px)); }
  .fin__ghost.g2 { transform: translate(calc(-50% + 7px), calc(-50% - 5px)); }

  /* contact + manifesto type stays inside the viewport */
  .contact__big { font-size: clamp(50px, 18vw, 120px); }
  .pin-line { font-size: clamp(38px, 12vw, 90px); }
}

/* very small phones: final safety pass on the biggest type */
@media (max-width: 400px) {
  .hero__lock .l1 { font-size: 56px; }
  .sec-head__title { font-size: clamp(40px, 13vw, 72px); }
  .fin__nav a { font-size: clamp(30px, 9vw, 52px); }
  .fin__mail { font-size: clamp(20px, 6.5vw, 30px); }
}

/* reduce decorative bg words on small screens (lower distraction + paint) */
@media (max-width: 680px) {
  .bgword { font-size: 52vw; opacity: .05; }
  .pin-bgword { font-size: 58vw; }
}

