:root {
  --ink: #29242d;
  --paper: #fbfaf7;
  --paper-deep: #f1ede7;
  --plum: #32223f;
  --violet: #765399;
  --lilac: #c5a7e6;
  --lilac-soft: #e9ddf5;
  --mist: #d7d3da;
  --taupe: #817985;
  --acid: #d5e89c;
  --orange: #d1764b;
  --line: rgba(50, 34, 63, .24);
  --shadow: 7px 8px 0 rgba(50, 34, 63, .14);
  --serif: "Outfit", "Avenir Next", Arial, sans-serif;
  --sans: "Outfit", "Avenir Next", Arial, sans-serif;
  --hand: "Caveat", "Segoe Print", cursive;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    radial-gradient(circle at 18% 14%, rgba(197, 167, 230, .11), transparent 22rem),
    radial-gradient(circle at 82% 46%, rgba(129, 121, 133, .07), transparent 26rem),
    var(--paper);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.56;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
  opacity: .24;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.1'/%3E%3C/svg%3E");
}

a { color: inherit; }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }

.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 1000;
  padding: .75rem 1rem;
  color: white;
  background: var(--plum);
  border-radius: .4rem;
}
.skip-link:focus { top: 1rem; }

.intro-book {
  position: fixed;
  inset: 0;
  z-index: 900;
  overflow: hidden;
  pointer-events: none;
  background: transparent;
  perspective: 1800px;
  transition: visibility 0s linear 1.7s;
}
.book-cover {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    linear-gradient(rgba(47,25,63,.08), rgba(47,25,63,.08)),
    url("assets/homepage-diary-cover-texture.webp") center / cover no-repeat,
    #3b213f;
  border: 12px solid #2a1831;
  border-radius: 0 1.1rem 1.1rem 0;
  box-shadow: inset 18px 0 22px rgba(15,7,20,.42), 24px 0 44px rgba(24,10,31,.34);
  transform-origin: left center;
  backface-visibility: hidden;
  transition: transform 1.18s cubic-bezier(.7,.02,.22,1) .42s, filter .9s ease .35s;
}
.book-cover::after {
  content: "";
  position: absolute;
  inset: 2.2rem;
  border: 1px solid rgba(213,232,156,.3);
  border-radius: .7rem;
}
.book-spine { position: absolute; inset: 0 auto 0 0; width: clamp(32px, 4vw, 64px); background: linear-gradient(90deg, rgba(20,8,26,.62), rgba(122,82,139,.38) 48%, rgba(20,8,26,.32)); border-right: 1px solid rgba(233,221,245,.24); }
.book-label { position: relative; z-index: 1; width: min(560px, calc(100% - 5rem)); padding: clamp(1.25rem, 3vw, 2.2rem); color: var(--plum); background: rgba(251,250,247,.9); border: 2px solid var(--lilac); border-radius: .5rem .85rem .55rem .75rem; box-shadow: 8px 9px 0 rgba(197,167,230,.3); text-align: center; transform: rotate(-.7deg); }
.book-label span, .book-label strong { display: block; font-family: var(--sans); }
.book-label span { margin-bottom: .35rem; color: var(--violet); font-size: clamp(1rem, 1.5vw, 1.2rem); font-weight: 650; letter-spacing: .12em; text-transform: uppercase; }
.book-label strong { font-size: clamp(2rem, 5vw, 4.8rem); font-weight: 600; line-height: 1.02; letter-spacing: -.045em; }
body.loaded .intro-book { visibility: hidden; }
body.loaded .book-cover { filter: brightness(.92); transform: rotateY(-104deg) translateX(-2%); }

.scroll-progress {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 800;
  width: 100%;
  height: 4px;
  background: transparent;
}
.scroll-progress span { display: block; width: 0; height: 100%; background: var(--violet); }
.cursor-dot {
  position: fixed;
  z-index: 850;
  width: 13px;
  height: 13px;
  border: 2px solid var(--violet);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: width .2s, height .2s, background .2s, opacity .2s;
  opacity: 0;
  mix-blend-mode: multiply;
}
body.pointer-on .cursor-dot { opacity: 1; }
.cursor-dot.active { width: 34px; height: 34px; background: rgba(197, 167, 230, .45); }

.site-header {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 30;
  width: min(1380px, calc(100% - 2rem));
  min-height: 86px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 2rem;
  transform: translateX(-50%);
}
.monogram {
  position: relative;
  width: 66px;
  color: var(--plum);
  text-decoration: none;
  font: 800 1.45rem/1 var(--serif);
}
.monogram svg { position: absolute; inset: 14px -4px auto; overflow: visible; }
.monogram path,
.hero-note path,
.portrait-doodle path,
.scroll-note path,
.hand-note path,
.about-doodle path,
.contact-squiggle path {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.site-header nav { display: flex; justify-content: center; gap: clamp(.7rem, 1.8vw, 1.8rem); }
.site-header nav a {
  position: relative;
  text-decoration: none;
  font-weight: 700;
  font-size: .96rem;
}
.site-header nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -.32rem;
  width: 100%;
  height: 3px;
  background: var(--lilac);
  transform: scaleX(0) rotate(-1deg);
  transform-origin: left;
  transition: transform .22s ease;
}
.site-header nav a:hover::after,
.site-header nav a:focus-visible::after { transform: scaleX(1) rotate(-1deg); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 48px;
  padding: .8rem 1.2rem;
  color: #fff;
  background: var(--violet);
  border: 2px solid var(--plum);
  border-radius: .45rem .75rem .5rem .68rem;
  box-shadow: 4px 5px 0 var(--plum);
  font-weight: 800;
  text-decoration: none;
  transform: rotate(-.6deg);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.button:hover, .button:focus-visible { background: var(--plum); box-shadow: 2px 2px 0 var(--plum); transform: translate(2px, 3px) rotate(.3deg); }
.button-small { min-height: 40px; padding: .58rem .88rem; font-size: .98rem; box-shadow: 3px 4px 0 var(--plum); }

.hero {
  position: relative;
  min-height: 100svh;
  padding: 9.5rem max(1.2rem, calc((100vw - 1320px) / 2)) 7rem;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, .72fr);
  align-items: center;
  gap: clamp(2.5rem, 5vw, 6rem);
  overflow: hidden;
}
.paper-grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .48;
  background-image: linear-gradient(rgba(118, 83, 153, .08) 1px, transparent 1px), linear-gradient(90deg, rgba(118, 83, 153, .08) 1px, transparent 1px);
  background-size: 31px 31px;
  mask-image: linear-gradient(to bottom, black 30%, transparent 94%);
}
.hero-copy { position: relative; max-width: 760px; }
.eyebrow {
  margin: 0 0 1rem;
  color: var(--violet);
  font-size: .91rem;
  font-weight: 900;
  letter-spacing: .11em;
  line-height: 1.2;
  text-transform: uppercase;
}
.eyebrow.light { color: var(--lilac); }
.scribble-star { display: inline-block; margin-right: .35rem; animation: slowSpin 9s linear infinite; }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 760; line-height: .96; letter-spacing: -.058em; }
h1 { max-width: 800px; font-size: clamp(4rem, 7.4vw, 7.4rem); }
h2 { font-size: clamp(3.1rem, 5.6vw, 5.8rem); }
h3 { font-size: clamp(2rem, 3.5vw, 3.65rem); }
.marker {
  position: relative;
  z-index: 1;
  display: inline-block;
  color: var(--plum);
  white-space: nowrap;
}
.marker::before {
  content: "";
  position: absolute;
  left: -.03em;
  right: -.08em;
  bottom: .03em;
  z-index: -1;
  height: .25em;
  background: var(--lilac);
  border-radius: 50% 15% 40% 20%;
  transform: rotate(-1.5deg) scaleX(0);
  transform-origin: left;
  animation: markIn .65s ease 1.7s forwards;
}
.hero-deck { max-width: 680px; margin: 2rem 0 0; font-size: clamp(1.24rem, 1.7vw, 1.52rem); line-height: 1.52; }
.hero-actions { display: flex; align-items: center; gap: 1.35rem; margin-top: 2rem; }
.text-link, .project-link {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  color: var(--plum);
  font-weight: 900;
  text-underline-offset: .35rem;
  text-decoration-thickness: 2px;
}
.hero-note {
  position: absolute;
  left: min(72%, 520px);
  bottom: -4.2rem;
  display: flex;
  gap: .4rem;
  align-items: flex-end;
  color: var(--violet);
  font: italic 700 1rem/1.2 var(--serif);
  transform: rotate(-5deg);
}
.hero-note svg { width: 96px; }

.portrait-wrap { position: relative; justify-self: end; width: min(100%, 590px); padding-right: clamp(4.5rem, 6vw, 6rem); }
.portrait-card {
  position: relative;
  margin: 0;
  padding: 1.1rem 1.1rem 1.4rem;
  background: #fff;
  border: 2px solid var(--plum);
  box-shadow: 14px 15px 0 var(--lilac);
  transform: rotate(2.2deg);
}
.portrait-photo { position: relative; }
.portrait-card img { width: 100%; aspect-ratio: 1; object-fit: cover; filter: saturate(.88) contrast(1.03); border: 1px solid var(--line); }
.portrait-card figcaption { display: flex; justify-content: space-between; gap: 1rem; padding: 1rem .25rem 0; font-family: var(--sans); }
.portrait-card figcaption strong { font-size: 1.22rem; }
.portrait-card figcaption span { color: var(--taupe); font-style: italic; }
.tape { position: absolute; z-index: 3; width: 115px; height: 34px; background: rgba(213, 232, 156, .76); border: 1px solid rgba(50,34,63,.15); backdrop-filter: blur(2px); }
.tape-one { top: -12px; left: 29%; transform: rotate(-5deg); }
.tape-two {
  right: -56px;
  top: 53%;
  bottom: auto;
  width: 96px;
  transform: rotate(82deg);
  background: rgba(197, 167, 230, .74);
}
.portrait-doodle { position: absolute; inset: -40px -55px -45px -50px; z-index: -1; width: calc(100% + 100px); height: calc(100% + 90px); color: var(--violet); overflow: visible; }
.orbit-note {
  position: absolute;
  right: 0;
  top: 9%;
  z-index: 4;
  width: clamp(150px, 10vw, 174px);
  height: clamp(142px, 9.5vw, 168px);
  display: grid;
  place-items: center;
  color: var(--paper);
  background: var(--plum);
  padding: 1.15rem;
  border-radius: 52% 48% 45% 55% / 48% 52% 48% 52%;
  font: 700 clamp(1rem, 1.15vw, 1.2rem)/1.08 var(--hand);
  text-align: center;
  transform: rotate(7deg);
  animation: bob 4.8s ease-in-out infinite;
}
.scroll-note { position: absolute; right: 2rem; bottom: 1.1rem; display: flex; flex-direction: column; align-items: center; gap: .25rem; color: var(--violet); font: 700 1.17rem/1 var(--hand); }
.scroll-note svg { width: 28px; height: 70px; animation: nudge 2s ease-in-out infinite; }

.ticker { overflow: hidden; padding: .9rem 0; color: #fff; background: var(--plum); border-block: 2px solid var(--plum); transform: rotate(-.35deg) scale(1.01); }
.ticker-track { display: flex; width: max-content; align-items: center; gap: 1.45rem; animation: ticker 28s linear infinite; font: 700 1.14rem/1 var(--sans); }
.ticker-track i { color: var(--lilac); font-style: normal; }

.section-pad { padding: clamp(5rem, 10vw, 9rem) max(1.2rem, calc((100vw - 1240px) / 2)); }
.testimonial {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .75fr) minmax(460px, 1.25fr);
  gap: clamp(3rem, 7vw, 7rem);
  align-items: center;
  color: #f8f5fa;
  background: var(--plum);
  overflow: hidden;
}
.testimonial::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  right: -150px;
  top: -250px;
  border: 1px dashed rgba(197,167,230,.45);
  border-radius: 50%;
}
.testimonial h2 { font-size: clamp(3rem, 5vw, 5.3rem); }
.testimonial-copy > p:not(.eyebrow) { max-width: 560px; margin-top: 1.7rem; color: #d9cedf; font-size: 1.22rem; }
.hand-note { width: 190px; margin: 2rem 0 0 auto; color: var(--lilac); font: 700 1.47rem/1 var(--hand); transform: rotate(-7deg); }
.hand-note span { display: block; text-align: center; }
.hand-note svg { display: block; width: 100px; margin: .2rem 0 0 auto; }
.video-frame { position: relative; padding-top: 2.4rem; }
.video-label {
  position: absolute;
  top: 0;
  left: 1.6rem;
  z-index: 2;
  padding: .55rem 1rem;
  color: var(--plum);
  background: var(--acid);
  border: 2px solid var(--plum);
  font: 800 .97rem/1.2 var(--sans);
  transform: rotate(-2deg);
}
.video-shell { position: relative; display: grid; aspect-ratio: 16/9; padding: .7rem; background: var(--lilac-soft); border: 2px solid #f8f5fa; box-shadow: 12px 12px 0 var(--lilac); transform: rotate(.5deg); }
.video-shell iframe, .video-poster { grid-area: 1 / 1; width: 100%; height: 100%; border: 0; background: #17131b; }
.video-poster { position: relative; display: block; padding: 0; overflow: hidden; cursor: pointer; text-align: left; }
.video-poster img { width: 100%; height: 100%; object-fit: cover; }
.video-poster:focus-visible { outline: 4px solid var(--acid); outline-offset: -4px; }
.video-play { position: absolute; left: 1rem; bottom: 1rem; display: inline-flex; align-items: center; gap: .55rem; padding: .6rem .95rem; color: white; background: var(--plum); border: 2px solid white; border-radius: 999px; font: 700 1rem/1.2 var(--sans); box-shadow: 0 4px 14px rgba(0,0,0,.24); transition: transform .2s, background .2s; }
.video-play span { font-size: .8rem; }
.video-poster:hover .video-play, .video-poster:focus-visible .video-play { background: var(--violet); transform: translateY(-2px); }

.work { position: relative; }
.section-heading { max-width: 880px; margin-bottom: clamp(3.5rem, 7vw, 6rem); }
.section-heading > p:last-child { max-width: 690px; margin-top: 1.4rem; color: var(--taupe); font-size: 1.26rem; }
.project {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(400px, 1.14fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
  min-height: 620px;
  margin: 0 0 3rem;
  padding: clamp(2rem, 5vw, 4.5rem);
  border: 2px solid var(--plum);
  border-radius: 1rem .35rem 1.25rem .55rem;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.project-lilac { background: var(--lilac-soft); }
.project-paper { background: var(--paper-deep); }
.project-dark { color: #f8f5fa; background: var(--plum); }
.project-number { position: absolute; right: .6rem; top: -.8rem; color: rgba(50,34,63,.09); font: 900 clamp(7rem, 15vw, 13rem)/1 var(--serif); }
.project-dark .project-number { color: rgba(255,255,255,.07); }
.company-line { display: flex; align-items: center; gap: .65rem; width: fit-content; margin: 0 0 .9rem; color: var(--plum); font-size: .98rem; font-weight: 850; letter-spacing: .03em; }
.company-line img { width: 36px; height: 36px; object-fit: contain; flex: 0 0 auto; }
.company-line-wordmark img { width: 46px; height: 46px; object-position: left center; }
.company-line-inverse { color: var(--lilac-soft); }
.company-line-inverse img { width: 42px; height: 42px; }
.company-line-light { color: #fff; }
.logo-tile { width: 42px; height: 42px; display: grid; place-items: center; flex: 0 0 auto; background: #fff; border: 1px solid rgba(50,34,63,.24); border-radius: .45rem; }
.logo-tile img { width: 23px; height: 23px; }
.company-line-lemlist { color: var(--plum); font-size: 1.08rem; font-weight: 900; text-transform: lowercase; }
.company-line-lemlist img { width: 42px; height: 42px; border-radius: .85rem; }
.project-meta { display: flex; justify-content: space-between; gap: 1rem; margin-bottom: 1.25rem; color: var(--violet); font-size: .87rem; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; }
.project-dark .project-meta { color: var(--lilac); }
.project-copy > p { max-width: 620px; margin: 1.6rem 0 0; color: #554e58; font-size: 1.18rem; }
.project-dark .project-copy > p { color: #d9cedf; }
.metric-list { display: flex; flex-wrap: wrap; gap: .75rem; padding: 0; margin: 2rem 0; list-style: none; }
.metric-list li { min-width: 120px; padding: .8rem .9rem; background: rgba(255,255,255,.7); border: 1.5px solid var(--plum); border-radius: .35rem .7rem .4rem .6rem; transform: rotate(-1deg); }
.metric-list li:nth-child(2) { transform: rotate(1deg); }
.metric-list strong { display: block; color: var(--violet); font: 900 1.75rem/1 var(--serif); }
.metric-list span { display: block; margin-top: .35rem; font-size: .87rem; font-weight: 700; line-height: 1.24; }
.project-dark .metric-list li { color: var(--plum); background: var(--lilac-soft); }
.project-dark .metric-list { display: grid; grid-template-columns: minmax(0, 1.28fr) repeat(2, minmax(0, 1fr)); }
.project-dark .metric-list li { min-width: 0; }
.project-dark .metric-list li:first-child strong { white-space: nowrap; }
.project-dark .project-link { color: var(--lilac); }
.project-visual { position: relative; padding: .7rem; background: #fff; border: 2px solid var(--plum); box-shadow: 9px 10px 0 rgba(50,34,63,.18); transform: rotate(1.1deg); }
.project-visual picture { display: block; }
.project-visual img { width: 100%; max-height: 500px; object-fit: cover; object-position: top; border: 1px solid rgba(50,34,63,.18); }
.org-shot img { height: 500px; }
.browser-bar { display: flex; align-items: center; gap: .35rem; height: 30px; padding: 0 .35rem; color: var(--taupe); font-size: .79rem; }
.browser-bar i { width: 7px; height: 7px; border-radius: 50%; background: var(--lilac); }
.browser-bar i:nth-child(2) { background: var(--orange); }
.browser-bar i:nth-child(3) { background: var(--acid); }
.browser-bar span { margin-left: .5rem; }
.visual-caption { position: absolute; right: -1.2rem; bottom: -1.4rem; padding: .55rem .75rem; color: var(--plum); background: var(--acid); border: 1.5px solid var(--plum); font: 700 1.12rem/1.08 var(--hand); transform: rotate(-2.5deg); }
.ad-visual { max-width: 460px; justify-self: center; transform: rotate(-2deg); }
.ad-visual img { max-height: 520px; object-fit: contain; }
.paperclip { position: absolute; right: 12%; top: -16px; width: 21px; height: 62px; border: 3px solid var(--violet); border-radius: 13px; transform: rotate(13deg); }
.funnel-visual { background: var(--lilac-soft); transform: rotate(1.6deg); }
.funnel-visual img { aspect-ratio: 16 / 10; object-fit: cover; }
.star-pin { position: absolute; left: -1.3rem; top: -1.5rem; z-index: 3; width: 62px; aspect-ratio: 1; display: grid; place-items: center; color: #bcd9ff; background: #704fa2; clip-path: polygon(50% 0,61% 33%,96% 20%,73% 49%,100% 68%,64% 68%,61% 100%,44% 73%,17% 96%,27% 61%,0 44%,36% 39%); filter: drop-shadow(4px 5px 0 rgba(84,132,211,.46)); font-size: 2rem; transform: rotate(-11deg); }

.about {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  column-gap: clamp(3rem, 6vw, 6rem);
  background: var(--lilac-soft);
  border-block: 2px solid var(--plum);
  overflow: hidden;
}
.about-column { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; }
.about-lead { align-self: start; }
.about-big { margin-top: 0; font: 700 clamp(1.6rem, 3vw, 2.7rem)/1.16 var(--serif); letter-spacing: -.035em; }
.about-body > p:not(.about-big) { max-width: 720px; font-size: 1.2rem; }
.skill-cloud { display: flex; flex-wrap: wrap; gap: .65rem; margin: 1.5rem 0 0; }
.skill-cloud span { padding: .55rem .8rem; background: rgba(255,255,255,.56); border: 1.5px solid var(--plum); border-radius: 999px; font-size: .94rem; font-weight: 800; transition: transform .2s, background .2s; }
.skill-cloud span:hover { background: var(--acid); transform: translateY(-4px) rotate(-1deg); }
.about-cta { position: relative; display: inline-block; align-self: center; margin-top: 5.25rem; }
.about-doodle { position: absolute; left: -.8rem; bottom: calc(100% + .3rem); width: 155px; color: var(--violet); transform: rotate(-4deg); pointer-events: none; }
.about-doodle path { stroke-dasharray: 1; stroke-dashoffset: 1; }
.about-doodle circle { fill: var(--violet); opacity: 0; }
.about-cta.played .about-doodle path { animation: drawLine 1.25s cubic-bezier(.65,0,.35,1) forwards; }
.about-cta.played .about-doodle path:nth-child(2) { animation-delay: 1.05s; }
.about-cta.played .about-doodle circle { animation: dotPop .28s ease forwards 1.15s; }
.about-cta.played .about-doodle circle:last-child { animation-delay: 1.32s; }

.next { background: var(--paper); }
.next-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.next-card { position: relative; min-height: 360px; display: flex; flex-direction: column; justify-content: space-between; padding: clamp(1.6rem, 4vw, 3rem); background: #fff; border: 2px solid var(--plum); box-shadow: var(--shadow); overflow: hidden; }
.next-card:first-child { transform: rotate(-.7deg); }
.next-card-dark { color: #f8f5fa; background: var(--violet); transform: rotate(.7deg); }
.next-card-dark .eyebrow { color: var(--acid); }
.next-card h3 { max-width: 620px; font-size: clamp(2rem, 3.5vw, 3.6rem); }
.next-card p:last-child { margin: 1.2rem 0 0; color: var(--taupe); font: 600 1.22rem/1.3 var(--hand); }
.next-card-dark p:last-child { color: var(--lilac-soft); }
.next-index { position: absolute; right: 1rem; top: -.8rem; color: rgba(50,34,63,.09); font: 900 8rem/1 var(--serif); }
.next-card-dark .next-index { color: rgba(255,255,255,.1); }
.drawn-arrow { position: absolute; right: 1.5rem; bottom: 1rem; font-size: 2.5rem; transform: rotate(9deg); transition: transform .25s ease; }
.next-card:hover .drawn-arrow { transform: translate(6px,-6px) rotate(9deg); }
.award-card { grid-column: 1 / -1; min-height: 510px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, .72fr); align-items: center; gap: clamp(2rem, 6vw, 6rem); background: var(--lilac-soft); }
.award-copy { align-self: center; }
.award-copy > p:not(.eyebrow) { max-width: 650px; margin: 1.2rem 0 0; color: #5d5560; font-size: 1.17rem; }
.award-copy > .award-aside { margin-top: .65rem; }
.award-copy s { text-decoration-color: var(--violet); text-decoration-thickness: 2px; }
.strike-once { position: relative; display: inline-block; text-decoration: none; white-space: nowrap; }
.award-copy s.strike-once { text-decoration: none; }
.strike-once::after { content: ""; position: absolute; left: -.08em; top: 54%; width: 0; height: 3px; background: var(--violet); transform: rotate(-2deg); transform-origin: left center; }
.award-line.played .strike-once::after { animation: strikeDraw 1.35s cubic-bezier(.65,0,.35,1) .28s forwards; }
.award-copy .award-win { position: relative; display: block; max-width: 620px; margin-top: 2rem; padding: 1rem 3rem; color: var(--plum); background: var(--acid); border: 1.5px solid var(--plum); border-radius: .35rem .7rem .45rem .65rem; font: 700 1.37rem/1.28 var(--hand); text-align: center; text-decoration: none; transform: rotate(-1deg); transition: transform .2s, box-shadow .2s; }
.award-copy .award-win:hover, .award-copy .award-win:focus-visible { box-shadow: 5px 6px 0 rgba(50,34,63,.18); transform: translateY(-3px) rotate(-1deg); }
.award-win span { position: absolute; right: 1rem; top: 50%; font-size: 1.5rem; transform: translateY(-50%) rotate(5deg); }
.award-photo { position: relative; z-index: 1; margin: 0; padding: .65rem; background: #fff; border: 2px solid var(--plum); box-shadow: var(--shadow); transform: rotate(1.2deg); }
.award-photo img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: center 70%; }
.award-photo figcaption { padding: .7rem .35rem .15rem; color: var(--plum); font: 700 1.17rem/1.15 var(--hand); text-align: center; }

.contact { position: relative; color: #fff; text-align: center; background: var(--plum); overflow: hidden; }
.contact h2 { max-width: 900px; margin: 0 auto; }
.contact .eyebrow { color: var(--acid); }
.contact-actions { width: min(860px, 100%); display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; margin: 3rem auto 0; }
.contact-actions .button { width: 100%; min-height: 60px; }
.button-light { color: var(--plum); background: var(--acid); }
.button-light:hover, .button-light:focus-visible { color: #fff; background: var(--violet); }
.button-outline { color: #fff; background: transparent; border-color: var(--lilac); box-shadow: 4px 5px 0 var(--lilac); }
.button-outline:hover, .button-outline:focus-visible { color: var(--plum); background: var(--lilac); box-shadow: 2px 2px 0 var(--lilac); }
.contact-squiggle { display: block; width: min(500px, 80%); margin: 2.3rem auto 0; color: var(--lilac); }
.contact-squiggle path { stroke-dasharray: 1; stroke-dashoffset: 1; }
.contact-squiggle.drawn path { animation: drawLine 1.8s cubic-bezier(.65,0,.35,1) .1s forwards; }

footer { display: grid; grid-template-columns: 1fr minmax(280px, auto) 1fr; align-items: center; gap: 2rem; padding: 1.5rem max(1.2rem, calc((100vw - 1240px) / 2)); background: #1f1726; color: #cfc5d4; font-size: .88rem; }
footer p { margin: 0; }
footer .footer-note { text-align: center; }
footer a { justify-self: end; color: var(--lilac); font-weight: 800; }

.formative { position: relative; overflow: hidden; }
.formative::after {
  content: "Shh, cuida'o, que nadie nos escuche";
  position: absolute;
  right: 3%;
  top: 7%;
  color: rgba(118,83,153,.14);
  font: 700 clamp(2rem, 5vw, 5rem)/1 var(--hand);
  transform: rotate(7deg);
}
.career-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.career-card {
  position: relative;
  min-height: 430px;
  padding: clamp(1.7rem, 4vw, 3.2rem);
  padding-bottom: 8.25rem;
  background: var(--paper-deep);
  border: 2px solid var(--plum);
  border-radius: .8rem .35rem 1.1rem .55rem;
  box-shadow: var(--shadow);
  overflow: hidden;
  transform: rotate(-.45deg);
}
.career-card-dark { color: #f8f5fa; background: var(--plum); transform: rotate(.55deg); }
.career-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 2.4rem; color: var(--taupe); font-size: .9rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.career-card-dark .career-top { color: var(--lilac-soft); }
.career-mark { color: var(--violet); font: 700 3.5rem/1 var(--hand); }
.career-card h3 { max-width: 600px; font-size: clamp(2rem, 3vw, 3.3rem); }
.career-card > p:last-of-type { max-width: 630px; margin: 1.5rem 0 0; color: #5d5560; }
.career-card-dark > p:last-of-type { color: #d9cedf; }
.audio-line { position: absolute; left: 2rem; right: 2rem; bottom: 1rem; height: 55px; display: flex; align-items: center; gap: 8px; }
.audio-line::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 1px solid rgba(118,83,153,.25); }
.audio-line i { position: relative; width: 5px; height: 12px; background: var(--violet); border-radius: 999px; animation: waveform 1.5s ease-in-out infinite alternate; }
.audio-line i:nth-child(2n) { height: 34px; animation-delay: -.4s; }
.audio-line i:nth-child(3n) { height: 48px; animation-delay: -.8s; }
.media-doodle { position: absolute; right: 1.8rem; bottom: .55rem; width: 112px; color: var(--lilac); transform: rotate(5deg); }
.media-doodle path { fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.clapper-top { transform-origin: 20px 35px; transform-box: view-box; }
.media-doodle.played .clapper-top { animation: clapperClap .9s cubic-bezier(.44,.02,.26,1) .15s both; }

.ai-workflows { color: #f8f5fa; background: var(--plum); overflow: clip; }
.ai-workflows .section-heading > p:last-child { color: #d9cedf; }
.workflow-grid { display: block; }
.workflow-card {
  --note-tilt: 0deg;
  position: sticky;
  top: clamp(1rem, 5vh, 4rem);
  z-index: 1;
  width: min(100%, 1120px);
  min-height: clamp(520px, 78svh, 760px);
  margin: 0 auto 16vh;
  padding: clamp(1.6rem, 3.5vw, 3rem);
  color: var(--ink);
  background: var(--paper);
  border: 2px solid var(--lilac);
  border-radius: .55rem 1.1rem .7rem .35rem;
  box-shadow: 7px 8px 0 rgba(197,167,230,.26);
  overflow: hidden;
  transform: rotate(var(--note-tilt));
  transform-origin: center top;
  transition: opacity .68s ease, transform .82s cubic-bezier(.22,1,.36,1);
  text-align: center;
}
.workflow-card:nth-child(1) { z-index: 1; }
.workflow-card:nth-child(2) { --note-tilt: -.35deg; z-index: 2; max-width: 980px; padding-bottom: 10rem; background: var(--lilac-soft); }
.workflow-card:nth-child(3) { --note-tilt: .45deg; z-index: 3; max-width: 980px; background: #ece9e5; }
.workflow-card:nth-child(4) { z-index: 4; }
.workflow-card:nth-child(5) { z-index: 5; }
.workflow-card.note-ready { opacity: 0; transform: perspective(1200px) translateY(86px) rotateX(-18deg) rotateZ(var(--note-tilt)) scale(.98); }
.workflow-card.note-visible { opacity: 1; transform: perspective(1200px) translateY(0) rotateX(0) rotateZ(var(--note-tilt)) scale(1); }
.workflow-card h3 { max-width: 760px; margin-inline: auto; font-size: clamp(2rem, 3.4vw, 3.6rem); text-align: center; }
.workflow-card .eyebrow { margin-inline: auto; text-align: center; }
.workflow-card > p:not(.eyebrow) { max-width: 780px; margin: 1.4rem auto; color: #554e58; font-size: 1.15rem; text-align: center; }
.workflow-card .company-line { justify-content: center; margin-inline: auto; }
.workflow-card .mini-flow { justify-content: center; margin-inline: auto; }
.workflow-card .project-link { width: fit-content; justify-content: center; margin-inline: auto; }
.workflow-wide { grid-column: 1 / -1; min-height: 380px; }
.workflow-count { position: absolute; top: -.55rem; right: .8rem; color: rgba(50,34,63,.08); font: 850 7rem/1 var(--sans); letter-spacing: -.08em; }
.workflow-feature { color: #f8f5fa; background: var(--violet); }
.workflow-feature .eyebrow { color: var(--acid); }
.workflow-feature > p:not(.eyebrow) { color: #f0eafa; }
.workflow-feature .workflow-count { color: rgba(255,255,255,.1); }
.workflow-feature .project-link { color: var(--acid); margin-top: 1.8rem; }
.workflow-tease { --note-tilt: -.5deg; width: min(100%, 720px); min-height: 430px; background: var(--acid); }
.centered-card { text-align: center; }
.centered-card h3, .centered-card .eyebrow { margin-inline: auto; text-align: center; }
.centered-card > p:not(.eyebrow) { margin-inline: auto; }
.centered-card .company-line { justify-content: center; margin-inline: auto; }
.centered-card .mini-flow { justify-content: center; }
.centered-card .analysis-orbit { margin-inline: auto; }
.centered-card .project-link { justify-content: center; }
.status-pill { display: inline-block; margin-top: 1rem; padding: .45rem .7rem; color: var(--plum); background: var(--acid); border: 1.5px solid var(--plum); border-radius: 999px; font-size: .87rem; font-weight: 850; letter-spacing: .04em; text-transform: uppercase; transform: rotate(-1deg); }
.workflow-tease .status-pill { background: var(--paper); }
.mini-flow { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem; margin-top: 2rem; }
.mini-flow span { padding: .65rem .85rem; background: var(--lilac-soft); border: 1.5px solid var(--plum); border-radius: .35rem .6rem .4rem .7rem; font-size: .92rem; font-weight: 800; }
.mini-flow b { color: var(--violet); font: 700 1.8rem/1 var(--hand); }
.mini-flow code { font: inherit; }
.mini-flow small { display: block; margin-top: .18rem; color: var(--taupe); font-size: .78rem; font-weight: 650; }
.mini-flow-detailed { justify-content: center; }
.note-ready .mini-flow-detailed small { opacity: 0; clip-path: inset(0 100% 0 0); }
.note-visible .mini-flow-detailed span:nth-of-type(2) small { animation: pencilWrite 1.9s steps(15,end) .9s forwards; }
.note-visible .mini-flow-detailed span:nth-of-type(3) small { animation: pencilWrite 1.9s steps(17,end) 1.18s forwards; }
.inline-link { color: var(--violet); font-weight: 800; text-decoration-thickness: 2px; text-underline-offset: .2em; }
.inline-link:hover, .inline-link:focus-visible { color: var(--plum); }
.stack-sketch { position: absolute; left: 2rem; right: 2rem; bottom: 2rem; display: grid; gap: .45rem; transform: rotate(-1.3deg); }
.stack-sketch span { padding: .55rem 1rem; color: var(--plum); background: rgba(255,255,255,.7); border: 1.5px solid var(--plum); font: 700 1.22rem/1 var(--hand); text-align: center; }
.stack-sketch span:nth-child(2) { margin-inline: 8%; background: var(--acid); }
.stack-sketch span:nth-child(3) { margin-inline: 16%; background: var(--lilac); }
.note-ready .stack-sketch span { opacity: 0; transform: translateY(-185px) rotate(-3deg); }
.note-visible .stack-sketch span:nth-child(3) { animation: blockDrop .68s cubic-bezier(.2,.8,.26,1.08) .55s forwards; }
.note-visible .stack-sketch span:nth-child(2) { animation: blockDrop .68s cubic-bezier(.2,.8,.26,1.08) .88s forwards; }
.note-visible .stack-sketch span:nth-child(1) { animation: blockDrop .68s cubic-bezier(.2,.8,.26,1.08) 1.21s forwards; }
.site-sketch { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-areas: "brief build" "patch inspect-one" "inspect-two ship"; gap: .8rem; width: min(520px, 100%); margin: 2rem auto 0; }
.site-sketch i { position: relative; padding: 1.1rem .5rem; color: var(--plum); background: var(--lilac-soft); border: 1.5px solid var(--plum); font: 700 1.22rem/1 var(--hand); text-align: center; }
.site-sketch i::after { position: absolute; z-index: 2; color: var(--violet); }
.sketch-brief { grid-area: brief; }
.sketch-build { grid-area: build; }
.sketch-inspect-one { grid-area: inspect-one; }
.sketch-patch { grid-area: patch; }
.sketch-inspect-two { grid-area: inspect-two; }
.sketch-ship { grid-area: ship; }
.sketch-brief::after, .sketch-inspect-two::after { content: "→"; right: -.92rem; top: 50%; transform: translateY(-50%); }
.sketch-build::after, .sketch-patch::after { content: "↓"; left: 50%; top: calc(100% + .05rem); transform: translateX(-50%); }
.sketch-inspect-one::after { content: "←"; left: -.92rem; top: 50%; transform: translateY(-50%); }
.analysis-orbit { --orbit-size: clamp(230px, 26vw, 290px); position: relative; width: min(100%, 650px); height: 380px; margin-top: 1.2rem; }
.analysis-orbit::before { content: ""; position: absolute; left: 50%; top: 50%; width: var(--orbit-size); aspect-ratio: 1; border: 2px dashed currentColor; border-radius: 50%; opacity: .6; transform: translate(-50%, -50%); }
.orbit-track { position: absolute; left: 50%; top: 50%; width: var(--orbit-size); aspect-ratio: 1; animation: orbitSpin 14s linear infinite; }
.orbit-track span { position: absolute; z-index: 1; transform: translate(-50%, -50%); }
.orbit-track span:nth-child(1) { left: 50%; top: 0; }
.orbit-track span:nth-child(2) { left: 93%; top: 75%; }
.orbit-track span:nth-child(3) { left: 7%; top: 75%; }
.orbit-track i, .analysis-orbit > strong { width: 104px; aspect-ratio: 1; display: grid; place-items: center; padding: .55rem; color: var(--plum); background: var(--paper); border: 1.5px solid var(--plum); border-radius: 50%; font: 700 1.12rem/1 var(--hand); font-style: normal; text-align: center; }
.orbit-track i { animation: orbitCounterSpin 14s linear infinite; }
.analysis-orbit > strong { position: absolute; left: 50%; top: 50%; z-index: 2; width: 138px; color: var(--plum); background: var(--acid); transform: translate(-50%, -50%) rotate(-2deg); }
.workflow-feature { padding-block: clamp(1.35rem, 2.2vw, 2.1rem); }
.workflow-feature .company-line { margin-bottom: .35rem; }
.workflow-feature > p:not(.eyebrow) { margin-block: .8rem; }
.workflow-feature .analysis-orbit { --orbit-size: clamp(185px, 18vw, 220px); height: 255px; margin-top: .35rem; }
.workflow-feature .orbit-track i { width: 82px; font-size: 1rem; }
.workflow-feature .analysis-orbit > strong { width: 112px; }
.workflow-feature .project-link { margin-top: .7rem; }
.workflow-feature-row { width: min(100%, 780px); margin: .35rem auto 0; }

.services { position: relative; background: var(--paper-deep); border-bottom: 2px solid var(--plum); }
.service-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.service-card { position: relative; min-height: 470px; display: flex; flex-direction: column; align-items: flex-start; padding: clamp(1.7rem, 4vw, 3.4rem); background: #fff; border: 2px solid var(--plum); border-radius: .65rem 1.1rem .55rem .9rem; box-shadow: var(--shadow); overflow: hidden; transform: rotate(-.35deg); }
.service-card-dark { color: #f8f5fa; background: var(--violet); transform: rotate(.4deg); }
.service-card h3 { max-width: 600px; font-size: clamp(2.2rem, 4vw, 4rem); }
.service-card p { max-width: 650px; margin: 1.5rem 0 2rem; color: #5d5560; font-size: 1.14rem; }
.service-card-dark p { color: #efe8f4; }
.service-card .button { margin-top: auto; text-align: center; }
.service-number { position: absolute; right: 1rem; top: -.65rem; color: rgba(50,34,63,.08); font: 850 7rem/1 var(--sans); }
.service-card-dark .service-number { color: rgba(255,255,255,.1); }

.portfolio-page { background: var(--paper); }
.portfolio-header { position: absolute; }
.portfolio-hero {
  position: relative;
  min-height: 92svh;
  padding: 10rem max(1.2rem, calc((100vw - 1240px) / 2)) 6rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}
.portfolio-hero h1 { max-width: 980px; font-size: clamp(4.5rem, 10vw, 10rem); }
.portfolio-intro { max-width: 760px; margin: 2rem 0; color: #5d5560; font-size: clamp(1.22rem, 1.9vw, 1.5rem); }
.portfolio-jump { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1rem; }
.portfolio-jump a { display: inline-flex; align-items: center; gap: .55rem; padding: .7rem .9rem; background: rgba(255,255,255,.72); border: 1.5px solid var(--plum); border-radius: .35rem .65rem .45rem .6rem; font-weight: 800; text-decoration: none; transition: transform .2s, background .2s; }
.portfolio-jump a:hover, .portfolio-jump a:focus-visible { background: var(--acid); transform: translateY(-4px) rotate(-1deg); }
.portfolio-jump span { color: var(--violet); }
.shelf-note { position: absolute; right: 8%; bottom: 11%; color: var(--violet); font: 700 1.62rem/1 var(--hand); transform: rotate(-7deg); }
.portfolio-case { scroll-margin-top: 1rem; border-top: 2px solid var(--plum); }
.portfolio-case-lilac { background: var(--lilac-soft); }
.portfolio-case-dark { color: #f8f5fa; background: var(--plum); }
.case-heading { max-width: 900px; margin-bottom: clamp(2.8rem, 6vw, 5.5rem); }
.company-title { display: flex; align-items: center; gap: clamp(.65rem, 1.6vw, 1rem); }
.company-title > img { width: clamp(42px, 5vw, 62px); height: clamp(42px, 5vw, 62px); object-fit: contain; flex: 0 0 auto; }
.company-title .logo-tile { width: clamp(46px, 5vw, 62px); height: clamp(46px, 5vw, 62px); }
.company-title .logo-tile img { width: 48%; height: 48%; }
.case-heading > p:last-child { max-width: 800px; margin-top: 1.3rem; color: var(--taupe); font-size: 1.22rem; }
.portfolio-case-dark .case-heading > p:last-child { color: #d9cedf; }
.case-layout { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(320px, .65fr); align-items: start; gap: clamp(2rem, 5vw, 5rem); }
.case-preview { position: relative; max-height: 690px; margin: 0; padding: .65rem; background: white; border: 2px solid var(--plum); box-shadow: var(--shadow); overflow: hidden; transform: rotate(-.5deg); }
.case-preview picture { display: block; min-height: 0; overflow: hidden; }
.case-preview img { width: 100%; object-fit: cover; object-position: top; }
.case-preview figcaption, .funnel-map figcaption, .result-pair figcaption { padding: .7rem; color: var(--plum); background: var(--acid); font: 700 1.12rem/1.15 var(--hand); }
.artifact-list { display: grid; gap: .85rem; }
.artifact-list-inline { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); margin-top: 2.2rem; }
.artifact-card { min-height: 142px; display: grid; align-content: space-between; padding: 1.1rem; color: var(--ink); background: rgba(255,255,255,.8); border: 1.5px solid var(--plum); border-radius: .35rem .75rem .45rem .6rem; box-shadow: 4px 5px 0 rgba(50,34,63,.12); text-decoration: none; transition: transform .2s, box-shadow .2s, background .2s; }
.artifact-card:hover, .artifact-card:focus-visible { background: var(--acid); box-shadow: 2px 2px 0 rgba(50,34,63,.16); transform: translate(2px,3px) rotate(-.4deg); }
.artifact-card span { color: var(--violet); font-size: .8rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.artifact-card strong { font-size: 1.2rem; line-height: 1.24; }
.artifact-card em { justify-self: end; color: var(--violet); font: 700 1.12rem/1 var(--hand); }
.creative-strip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 36%); gap: 1rem; padding: 1rem .4rem 1.6rem; overflow-x: auto; scroll-snap-type: x mandatory; }
.creative-strip img { width: 100%; border: 2px solid var(--plum); box-shadow: var(--shadow); scroll-snap-align: start; transform: rotate(-.4deg); }
.creative-strip img:nth-child(2n) { transform: rotate(.6deg); }
.funnel-map { position: relative; margin: 0; padding: .65rem; color: var(--ink); background: white; border: 2px solid var(--lilac); box-shadow: 9px 10px 0 rgba(197,167,230,.25); }
.funnel-map img { width: 100%; }
.result-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1.4rem; }
.result-pair figure { margin: 0; padding: .5rem; color: var(--ink); background: white; border: 1.5px solid var(--lilac); }
.result-pair img { width: 100%; }
.eleven-case { background: #eee9e2; }
.analysis-orbit-large { height: 410px; margin: 0 auto 3rem; color: var(--violet); }
.audio-sample { display: flex; align-items: center; justify-content: space-between; gap: 2rem; margin-top: 2rem; padding: 1.4rem; color: #f8f5fa; background: var(--plum); border: 2px solid var(--violet); box-shadow: var(--shadow); }
.audio-sample h3 { font-size: 2rem; }
.audio-sample audio { width: min(100%, 520px); }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s cubic-bezier(.22,1,.36,1); }
.reveal[data-delay="1"] { transition-delay: .12s; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.tilt-card { transform-style: preserve-3d; transition: transform .22s ease-out; }

@keyframes markIn { to { transform: rotate(-1.5deg) scaleX(1); } }
@keyframes slowSpin { to { transform: rotate(360deg); } }
@keyframes bob { 50% { transform: translateY(-10px) rotate(2deg); } }
@keyframes nudge { 50% { transform: translateY(8px); } }
@keyframes ticker { to { transform: translateX(-50%); } }
@keyframes waveform { to { transform: scaleY(.55); opacity: .65; } }
@keyframes orbitSpin { from { transform: translate(-50%, -50%) rotate(0); } to { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes orbitCounterSpin { from { transform: rotate(0); } to { transform: rotate(-360deg); } }
@keyframes drawLine { to { stroke-dashoffset: 0; } }
@keyframes dotPop { from { opacity: 0; transform: scale(.2); } to { opacity: 1; transform: scale(1); } }
@keyframes clapperClap { 0%, 100% { transform: rotate(0); } 28% { transform: rotate(-28deg); } 58% { transform: rotate(0); } 75% { transform: rotate(-7deg); } }
@keyframes pencilWrite { 0% { opacity: 0; clip-path: inset(0 100% 0 0); } 12% { opacity: 1; } 100% { opacity: 1; clip-path: inset(0 0 0 0); } }
@keyframes blockDrop { 0% { opacity: 0; transform: translateY(-185px) rotate(-3deg); } 72% { opacity: 1; transform: translateY(6px) rotate(1deg); } 100% { opacity: 1; transform: translateY(0) rotate(0); } }
@keyframes strikeDraw { to { width: 106%; } }

@media (max-width: 980px) {
  .site-header { grid-template-columns: auto 1fr; }
  .site-header nav { display: none; }
  .site-header .button { justify-self: end; }
  .hero { min-height: auto; grid-template-columns: 1fr; padding-top: 8rem; }
  .portrait-wrap { width: min(88vw, 540px); justify-self: center; padding-right: 5rem; }
  .scroll-note { display: none; }
  .testimonial, .project, .about { grid-template-columns: 1fr; }
  .testimonial { gap: 3rem; }
  .project { min-height: 0; }
  .project-visual { max-width: 700px; margin: 0 auto; }
  .about { row-gap: 3rem; }
  .career-grid, .case-layout { grid-template-columns: 1fr; }
  .case-preview { max-height: 620px; }
  .creative-strip { grid-auto-columns: minmax(280px, 58%); }
  .service-grid { grid-template-columns: 1fr; }
}

@media (min-width: 981px) {
  .about-column-left .skill-cloud {
    margin-top: auto;
    translate: 0 calc(50% - 1.5rem);
  }
  .workflow-feature-row {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(240px, .75fr);
    align-items: center;
    gap: clamp(1.5rem, 3vw, 3rem);
  }
  .workflow-feature-row .analysis-orbit { --orbit-size: clamp(180px, 16vw, 196px); width: 100%; height: 300px; margin: 0; }
  .workflow-feature-row .analysis-orbit::before,
  .workflow-feature-row .orbit-track,
  .workflow-feature-row .analysis-orbit > strong { top: calc(50% - .75rem); }
  .workflow-feature-row .project-link { max-width: 300px; margin: 0 auto; text-align: center; }
}

@media (max-width: 680px) {
  body { font-size: 18px; }
  .site-header { min-height: 72px; }
  .button-small { font-size: .89rem; }
  .hero { padding-top: 7.5rem; padding-bottom: 5rem; }
  h1 { font-size: clamp(3.5rem, 17vw, 5.6rem); }
  h2 { font-size: clamp(2.8rem, 13vw, 4.5rem); }
  .marker { white-space: normal; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .hero-note { display: none; }
  .portrait-wrap { width: 100%; padding-right: 2.5rem; }
  .orbit-note { right: -.2rem; top: 5%; width: 124px; height: 120px; padding: .7rem; font-size: .92rem; }
  .tape-two { right: -48px; top: 52%; bottom: auto; width: 88px; }
  .portrait-card { box-shadow: 9px 10px 0 var(--lilac); }
  .portrait-card figcaption { flex-direction: column; gap: .15rem; }
  .ticker-track { font-size: 1.02rem; }
  .section-pad { padding-block: 5rem; }
  .testimonial { padding-inline: 1.2rem; }
  .hand-note { margin-left: 0; }
  .video-frame { margin-inline: .4rem; }
  .video-label { max-width: 88%; left: .5rem; font-size: .82rem; }
  .video-shell { padding: .35rem; box-shadow: 7px 7px 0 var(--lilac); }
  .project { padding: 1.4rem; border-radius: .55rem; box-shadow: 5px 6px 0 rgba(50,34,63,.14); }
  .project-meta { flex-direction: column; gap: .25rem; }
  .project h3 { font-size: 2.55rem; }
  .metric-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .project-dark .metric-list { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
  .project-dark .metric-list li:first-child { grid-column: 1 / -1; width: max-content; max-width: 100%; justify-self: start; }
  .metric-list li { min-width: 0; }
  .org-shot img { height: auto; aspect-ratio: 72 / 55; object-fit: cover; }
  .star-pin { left: -.75rem; top: -1rem; width: 48px; font-size: 1.45rem; }
  .visual-caption { right: -.25rem; bottom: -.9rem; }
  .next-grid { grid-template-columns: 1fr; }
  .next-card { min-height: 330px; }
  .career-card { min-height: 450px; padding: 1.4rem 1.4rem 8.25rem; }
  .career-card h3 { font-size: 2.35rem; }
  .workflow-card { position: relative; top: auto; min-height: 390px; margin-bottom: 3rem; padding: 1.4rem; }
  .workflow-card h3 { font-size: 2.35rem; }
  .workflow-wide { min-height: 430px; }
  .mini-flow { gap: .35rem; }
  .mini-flow span { padding: .55rem .65rem; font-size: .79rem; }
  .site-sketch { grid-template-columns: 1fr 1fr; }
  .analysis-orbit { --orbit-size: 210px; width: 100%; height: 320px; }
  .orbit-track i, .analysis-orbit > strong { width: 78px; padding: .35rem; font-size: .84rem; }
  .analysis-orbit > strong { width: 104px; }
  .workflow-feature .analysis-orbit { --orbit-size: 180px; height: 225px; }
  .workflow-feature .orbit-track i { width: 70px; font-size: .82rem; }
  .workflow-feature .analysis-orbit > strong { width: 92px; }
  .award-card { grid-template-columns: 1fr; }
  .award-photo { width: min(100%, 420px); justify-self: center; }
  .portfolio-hero { min-height: 84svh; padding-top: 8rem; }
  .portfolio-hero h1 { font-size: clamp(4.1rem, 22vw, 6.6rem); }
  .shelf-note { display: none; }
  .creative-strip { grid-auto-columns: 83%; }
  .result-pair { grid-template-columns: 1fr; }
  .case-preview { height: 420px; max-height: none; display: grid; grid-template-rows: 30px minmax(0, 1fr) auto; }
  .case-preview picture { height: 100%; }
  .org-case-preview { height: auto; grid-template-rows: 30px auto auto; }
  .org-case-preview picture { height: auto; }
  .case-preview img { height: 100%; object-fit: cover; object-position: top; }
  .case-preview.org-case-preview img { height: auto; aspect-ratio: 72 / 55; object-fit: cover; }
  .audio-sample { align-items: stretch; flex-direction: column; }
  .audio-sample audio { width: 100%; }
  .contact-actions { grid-template-columns: 1fr; }
  footer { grid-template-columns: 1fr; justify-items: center; gap: .7rem; text-align: center; }
  footer a { justify-self: center; }
  .cursor-dot { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .intro-book { display: none; }
  .reveal { opacity: 1; transform: none; }
  .workflow-card.note-ready { opacity: 1; transform: rotate(var(--note-tilt)); }
  .about-doodle path { stroke-dashoffset: 0; }
  .contact-squiggle path { stroke-dashoffset: 0; }
  .about-doodle circle { opacity: 1; }
  .strike-once::after { width: 106%; }
}
