/* ==========================================================
   CHEESE ART LABS — a software atelier
   palette: #a71414 crimson · #FF6B2C orange · black · white
   no gradients. painted by hand.
   ========================================================== */

:root {
  --red: #a71414;
  --red-video: #a81414;       /* exact bg of the hero video's final frame */
  --orange: #ff6b2c;
  --black: #0d0b0a;
  --ink: #171310;
  --paper: #f4efe7;
  --paper-warm: #efe7da;
  --white: #ffffff;

  --font-display: "Cormorant Garamond", serif;
  --font-body: "Archivo", sans-serif;
  --font-hand: "Caveat", cursive;

  --wrap: 1200px;
  --ease-paint: cubic-bezier(.7, 0, .17, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--black);
  color: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* mobile: painted overhangs must never allow sideways panning.
   `clip` blocks the pan without creating a scroll container,
   so position: sticky keeps working */
@supports (overflow-x: clip) {
  html, body { overflow-x: clip; }
}

body.is-loading, body.menu-open { overflow: hidden; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 clamp(20px, 4vw, 48px); position: relative; z-index: 2; }

::selection { background: var(--orange); color: var(--black); }

/* ==========================================================
   LOADER
   ========================================================== */
.loader {
  position: fixed; inset: 0; z-index: 1000;
  background: var(--red-video);
  display: flex; align-items: center; justify-content: center;
  transition: transform .9s var(--ease-paint);
}
.loader.done { transform: translateY(-100.5%); }

.loader-inner { width: min(420px, 74vw); text-align: center; }

.loader-logo {
  width: min(300px, 58vw); margin: 0 auto 42px;
  animation: loaderBreath 2.2s ease-in-out infinite;
}
@keyframes loaderBreath {
  0%, 100% { transform: scale(1) rotate(-.5deg); }
  50% { transform: scale(1.035) rotate(.5deg); }
}

.loader-stroke { position: relative; height: 34px; overflow: hidden; }
.loader-stroke-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: fill;
  clip-path: inset(0 100% 0 0);
  transition: clip-path .25s ease-out;
}

.loader-meta {
  margin-top: 14px;
  display: flex; justify-content: space-between; align-items: baseline;
}
.loader-note {
  font-family: var(--font-hand); font-size: 22px; color: var(--white);
  opacity: .85; letter-spacing: .5px;
}
.loader-count {
  font-family: var(--font-display); font-weight: 600; font-style: italic;
  font-size: 30px; color: var(--white); font-variant-numeric: tabular-nums;
}

/* ==========================================================
   HEADER
   ========================================================== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px clamp(20px, 3.5vw, 44px);
  opacity: 0; pointer-events: none; transform: translateY(-12px);
  transition: opacity .7s ease .1s, transform .7s var(--ease-paint) .1s, background-color .35s ease;
}
body.hero-done .site-header { opacity: 1; pointer-events: auto; transform: none; }

.site-header.scrolled { background: rgba(13, 11, 10, .93); }
@supports (backdrop-filter: blur(8px)) {
  .site-header.scrolled { background: rgba(13, 11, 10, .78); backdrop-filter: blur(10px); }
}

.brand-chip {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--paper);
  padding: 8px 14px;
  transform: rotate(-1.2deg);
  clip-path: polygon(2% 14%, 6% 2%, 96% 0%, 100% 24%, 98% 88%, 92% 100%, 4% 96%, 0% 70%);
  transition: transform .3s var(--ease-paint);
}
.brand-chip:hover { transform: rotate(.6deg) scale(1.04); }
.brand-chip img { height: 34px; width: auto; }
.brand-chip.small img { height: 30px; }

.site-nav { display: flex; align-items: center; gap: clamp(18px, 2.6vw, 36px); }
.site-nav a {
  font-size: 14px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  position: relative; padding: 6px 2px;
}
.site-nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 3px;
  background: var(--orange);
  transform: skewX(-24deg);
  transition: right .3s var(--ease-paint);
}
.site-nav a:hover::after { right: 0; }

.site-nav .nav-cta {
  border: 2px solid var(--white); padding: 9px 20px;
  transform: rotate(-1deg);
  transition: background-color .25s ease, color .25s ease, transform .25s ease;
}
.site-nav .nav-cta:hover { background: var(--white); color: var(--red); transform: rotate(.5deg); }
.site-nav .nav-cta::after { display: none; }

.nav-burger {
  display: none; background: none; border: 0; cursor: pointer;
  width: 44px; height: 40px; position: relative; z-index: 960;
}
.nav-burger span {
  display: block; height: 3px; background: var(--white);
  margin: 7px 4px; transform-origin: center;
  transition: transform .35s var(--ease-paint), opacity .25s ease, background-color .25s ease;
}
.nav-burger span:nth-child(1) { transform: rotate(-2deg); }
.nav-burger span:nth-child(2) { transform: rotate(1.5deg); }
.nav-burger span:nth-child(3) { transform: rotate(-1deg); width: 70%; }
body.menu-open .nav-burger span:nth-child(1) { transform: translateY(10px) rotate(43deg); }
body.menu-open .nav-burger span:nth-child(2) { opacity: 0; }
body.menu-open .nav-burger span:nth-child(3) { transform: translateY(-10px) rotate(-43deg); width: 100%; }

/* painted fullscreen menu */
.paint-menu {
  position: fixed; inset: 0; z-index: 940;
  background: var(--red);
  display: flex; align-items: center; justify-content: center;
  clip-path: circle(0% at calc(100% - 44px) 40px);
  transition: clip-path .65s var(--ease-paint), visibility 0s linear .65s;
  visibility: hidden;
}
body.menu-open .paint-menu {
  clip-path: circle(150% at calc(100% - 44px) 40px);
  visibility: visible;
  transition: clip-path .65s var(--ease-paint), visibility 0s;
}
body.menu-open .site-header { z-index: 970; background: none !important; }
.paint-menu nav { display: flex; flex-direction: column; gap: 6px; }
.paint-menu a {
  font-family: var(--font-display); font-weight: 600; font-size: clamp(40px, 9vw, 64px);
  line-height: 1.25; color: var(--white); display: flex; align-items: baseline; gap: 18px;
  transform: translateX(-14px); opacity: 0;
  transition: transform .5s var(--ease-paint), opacity .5s ease;
}
body.menu-open .paint-menu a { transform: none; opacity: 1; }
body.menu-open .paint-menu a:nth-child(1) { transition-delay: .12s; }
body.menu-open .paint-menu a:nth-child(2) { transition-delay: .18s; }
body.menu-open .paint-menu a:nth-child(3) { transition-delay: .24s; }
body.menu-open .paint-menu a:nth-child(4) { transition-delay: .30s; }
body.menu-open .paint-menu a:nth-child(5) { transition-delay: .36s; }
.paint-menu a em { font-family: var(--font-hand); font-style: normal; font-size: 20px; opacity: .7; }
.paint-menu-splat {
  position: absolute; right: -8%; bottom: -6%; width: 46vw; max-width: 380px;
  opacity: .5; pointer-events: none;
}

/* ==========================================================
   HERO
   ========================================================== */
.hero {
  position: relative; height: 100vh; height: 100svh;
  background: var(--red-video); overflow: hidden;
}

.hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover;
}

.hero-fallback {
  position: absolute; inset: 0; display: none;
  align-items: flex-start; justify-content: center;
  background: var(--red-video);
}
.hero-fallback img { width: min(430px, 62vw); margin-top: 16vh; }
.hero.no-video .hero-video { display: none; }
.hero.no-video .hero-fallback { display: flex; }

.hero-ui {
  position: absolute; left: 0; right: 0; top: 47%;
  text-align: center; z-index: 3; padding: 0 20px;
  pointer-events: none;
}

.hero-slogan {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(30px, 4.6vw, 62px);
  line-height: 1.12; letter-spacing: .01em; color: var(--white);
}
.hero-slogan .line { display: block; overflow: hidden; }
.hero-slogan .line > span { display: inline-block; transform: translateY(110%); }
.hero-slogan i { font-style: italic; color: var(--white); }

body.hero-done .hero-slogan .line > span {
  transform: none;
  transition: transform .9s var(--ease-paint);
}
body.hero-done .hero-slogan .line:nth-child(2) > span { transition-delay: .12s; }

.hero-underline { width: min(300px, 44vw); margin: 14px auto 0; }
.hero-underline img {
  width: 100%;
  clip-path: inset(0 100% 0 0);
}
body.hero-done .hero-underline img {
  clip-path: inset(0 0 0 0);
  transition: clip-path .8s var(--ease-paint) .55s;
}

.hero-sub {
  margin-top: 22px; font-size: clamp(14px, 1.5vw, 17px); font-weight: 500;
  letter-spacing: .04em; color: var(--white); opacity: 0;
}
body.hero-done .hero-sub { opacity: .92; transition: opacity .9s ease .85s; }

.hero-skip {
  position: absolute; right: clamp(18px, 3vw, 40px); bottom: clamp(18px, 3vw, 36px); z-index: 4;
  background: none; border: 0; cursor: pointer;
  font-family: var(--font-hand); font-size: 21px; color: var(--white); opacity: .75;
  transition: opacity .25s ease;
}
.hero-skip:hover { opacity: 1; }
body.hero-done .hero-skip { display: none; }

.scroll-cue {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  z-index: 4; text-align: center; opacity: 0; pointer-events: none;
}
body.hero-done .scroll-cue { opacity: 1; pointer-events: auto; transition: opacity .8s ease 1.2s; }
.scroll-cue-word { font-family: var(--font-hand); font-size: 20px; color: var(--white); display: block; }
.scroll-cue-line {
  display: block; width: 3px; height: 44px; margin: 8px auto 0;
  background: var(--white); transform: rotate(2deg); transform-origin: top;
  animation: cueDrip 1.8s var(--ease-paint) infinite;
}
@keyframes cueDrip {
  0% { transform: scaleY(0) rotate(2deg); }
  45% { transform: scaleY(1) rotate(2deg); }
  100% { transform: scaleY(1) rotate(2deg); opacity: 0; }
}

/* ==========================================================
   SEAMS — painted section transitions
   ========================================================== */
.seam {
  position: absolute; left: -2%; width: 104%; max-width: none;
  pointer-events: none; user-select: none; z-index: 3;
}
.seam-top-black { top: -5.5vw; height: 8vw; object-fit: fill; }
.seam-top-white { top: -4.5vw; height: 7vw; object-fit: fill; }
.seam-top-red   { top: -5vw;   height: 7.5vw; object-fit: fill; transform: scaleX(-1); }

/* ==========================================================
   MARQUEE
   ========================================================== */
.marquee {
  position: relative; background: var(--black);
  padding: clamp(34px, 5vw, 64px) 0;
  overflow: hidden;
}
.marquee-track { display: flex; width: max-content; }
.mt-a { animation: marq 26s linear infinite; }
.mt-b { animation: marqR 32s linear infinite; margin-top: 10px; opacity: .55; }
@keyframes marq  { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes marqR { from { transform: translateX(-50%); } to { transform: translateX(0); } }

.marquee-set { display: flex; align-items: center; gap: 34px; padding-right: 34px; }
.marquee-set span {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(34px, 5vw, 64px); white-space: nowrap; color: var(--white);
}
.marquee-set span.hollow {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--orange);
}
.marquee-set i { color: var(--red); font-size: 18px; font-style: normal; }
.mt-b .marquee-set span.hollow { -webkit-text-stroke-color: var(--white); }
.mt-b .marquee-set i { color: var(--orange); }

/* ==========================================================
   SHARED SECTION PIECES
   ========================================================== */
.section-dark {
  position: relative; background: var(--black);
  background-image: url("../assets/art/canvas.jpg");
  background-size: 1400px auto;
  padding: clamp(80px, 11vw, 150px) 0;
  overflow: hidden;
}

.section-paper {
  position: relative; background: var(--paper);
  color: var(--ink);
  padding: clamp(80px, 11vw, 150px) 0;
  overflow: visible;
}

.kicker {
  display: flex; align-items: center; gap: 12px;
  font-size: 13px; font-weight: 700; letter-spacing: .3em; text-transform: uppercase;
  color: var(--orange); margin-bottom: 26px;
}
.kicker.ink { color: var(--red); }
.kicker-dot { width: 14px; height: 14px; background: var(--red); border-radius: 50% 42% 55% 45%; transform: rotate(12deg); }
.kicker-dot.white { background: var(--white); }

.giant {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(40px, 6.2vw, 84px); line-height: 1.04; letter-spacing: .005em;
  margin-bottom: 30px;
}
.giant.ink { color: var(--ink); }
.giant em { font-style: italic; }

.colossal {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(46px, 8vw, 110px); line-height: 1.02;
  margin-bottom: 48px;
}

.stroked { position: relative; display: inline-block; white-space: nowrap; }
.stroked em, .stroked > :not(.stroke-behind) { position: relative; z-index: 2; }
.stroke-behind {
  position: absolute; z-index: 1; left: -7%; right: -7%; width: 114%;
  top: 50%; height: 78%; transform: translateY(-46%);
  object-fit: fill; opacity: .92; pointer-events: none;
  clip-path: inset(0 100% 0 0);
}
.stroke-behind.low { height: 60%; transform: translateY(-30%); }
.in .stroke-behind, .reveal.in .stroke-behind {
  clip-path: inset(0 0 0 0);
  transition: clip-path .8s var(--ease-paint) .35s;
}

.lede {
  max-width: 720px; font-size: clamp(16px, 1.8vw, 20px); line-height: 1.65;
  color: var(--white); opacity: .88;
}
.lede strong { color: var(--orange); font-weight: 600; }

/* scroll reveal base */
.reveal { opacity: 0; transform: translateY(34px); }
.reveal.in {
  opacity: 1; transform: none;
  transition: opacity .8s ease, transform .8s var(--ease-paint);
}

/* decorative splatters */
.splat { position: absolute; pointer-events: none; user-select: none; z-index: 1; }
.splat-services { right: -14%; top: 4%; width: 44vw; max-width: 560px; opacity: .3; }
.splat-partners { left: -12%; bottom: -8%; width: 40vw; max-width: 500px; opacity: .22; }
.splat-contact  { right: -10%; top: 12%; width: 36vw; max-width: 480px; opacity: .35; }

/* ==========================================================
   SERVICES
   ========================================================== */
.services .lede { margin-bottom: clamp(44px, 6vw, 80px); }

.service-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2.6vw, 34px);
}

.service-card {
  background: var(--paper); color: var(--ink);
  padding: clamp(26px, 3vw, 38px) clamp(22px, 2.6vw, 32px);
  position: relative;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .45);
  transition: transform .35s var(--ease-paint), box-shadow .35s ease;
}
.service-card:nth-child(odd)  { transform: rotate(-.7deg) translateY(34px); }
.service-card:nth-child(even) { transform: rotate(.6deg) translateY(34px); }
.service-card.in:nth-child(odd)  { transform: rotate(-.7deg); }
.service-card.in:nth-child(even) { transform: rotate(.6deg); }
.service-card:hover { transform: rotate(0deg) translateY(-8px) !important; box-shadow: 0 30px 60px rgba(0, 0, 0, .6); }

.service-card::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px;
  background: var(--red); transform: scaleX(0); transform-origin: left;
  transition: transform .4s var(--ease-paint);
}
.service-card:hover::after { transform: scaleX(1); }

.sc-icon { width: 74px; height: 74px; object-fit: contain; margin-bottom: 20px; }

.service-card h3 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(22px, 2.1vw, 27px); margin-bottom: 12px; line-height: 1.15;
}
.service-card p { font-size: 15px; line-height: 1.6; color: #3c342e; }

/* ==========================================================
   QUOTE BAND
   ========================================================== */
.quote-band {
  position: relative; overflow: hidden;
  min-height: clamp(420px, 62vh, 640px);
  display: flex; align-items: center; justify-content: center;
  background: var(--black);
}
.quote-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: .85;
}
.quote-inner {
  position: relative; z-index: 2; text-align: center; padding: 60px 24px;
}
.quote-inner blockquote {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(44px, 7vw, 96px); line-height: 1; color: var(--white);
  text-shadow: 0 4px 30px rgba(0, 0, 0, .55);
}
.quote-inner blockquote i { color: var(--orange); }
.quote-inner p {
  margin-top: 20px; font-size: clamp(15px, 1.7vw, 19px); letter-spacing: .03em;
  color: var(--white); opacity: .92; text-shadow: 0 2px 16px rgba(0, 0, 0, .6);
}

/* ==========================================================
   WORK
   ========================================================== */
.work .giant { margin-bottom: clamp(50px, 7vw, 90px); }

.work-piece {
  display: grid; grid-template-columns: 7fr 5fr; align-items: center;
  gap: clamp(28px, 4.5vw, 70px);
  margin-bottom: clamp(70px, 9vw, 130px);
}
.work-piece:last-child { margin-bottom: 0; }
.work-piece.flip { grid-template-columns: 5fr 7fr; }
.work-piece.flip .frame { order: 2; }
.work-piece.flip .work-info { order: 1; text-align: right; }
.work-piece.flip .work-info .work-tags { justify-content: flex-end; }

.frame {
  background: var(--paper);
  padding: clamp(10px, 1.4vw, 18px);
  box-shadow: 0 30px 70px rgba(0, 0, 0, .55);
  transform: rotate(-.8deg);
  transition: transform .45s var(--ease-paint), box-shadow .45s ease;
  overflow: hidden;
}
.work-piece.flip .frame { transform: rotate(.8deg); }
.frame img { width: 100%; transition: transform .6s var(--ease-paint); }
.work-piece:hover .frame { transform: rotate(0deg) translateY(-6px); box-shadow: 0 44px 90px rgba(0, 0, 0, .65); }
.work-piece:hover .frame img { transform: scale(1.035); }

.work-index {
  font-family: var(--font-hand); font-size: 24px; color: var(--orange);
  display: block; margin-bottom: 10px;
}
.work-info h3 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(30px, 3.4vw, 46px); margin-bottom: 10px;
}
.work-tags {
  display: flex; flex-wrap: wrap; gap: 8px; font-size: 12.5px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--orange);
  margin-bottom: 16px;
}
.work-info > p:not(.work-tags) { font-size: 15.5px; line-height: 1.65; opacity: .85; margin-bottom: 22px; }

.work-visit {
  display: inline-block; font-size: 13.5px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: var(--white);
  border-bottom: 3px solid var(--red);
  padding-bottom: 5px;
  transition: color .25s ease, border-color .25s ease;
}
.work-visit b { color: var(--orange); }
.work-piece:hover .work-visit { color: var(--orange); border-color: var(--orange); }

/* ==========================================================
   PROCESS
   ========================================================== */
.process { z-index: 2; }
.steps {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(26px, 4vw, 60px);
  margin-top: clamp(40px, 5vw, 70px);
  position: relative;
}
.step { position: relative; padding-top: 18px; }
.step::before {
  content: ""; position: absolute; top: 0; left: 0; width: 74px; height: 7px;
  background: var(--red); transform: skewX(-30deg) rotate(-1deg);
}
.step:nth-child(2)::before, .step:nth-child(3)::before { background: var(--orange); }
.step-no {
  font-family: var(--font-hand); font-size: 26px; color: var(--red);
  display: block; margin-bottom: 6px;
}
.step h3 {
  font-family: var(--font-display); font-weight: 700; font-size: clamp(26px, 2.6vw, 36px);
  margin-bottom: 12px; color: var(--ink);
}
.step p { font-size: 15.5px; line-height: 1.65; color: #453b33; margin-bottom: 14px; }
.step-note {
  font-family: var(--font-hand); font-size: 21px; color: var(--red);
}
.step-arrow { display: none; }

/* ==========================================================
   SCRUB BAND — the paint follows your scroll
   ========================================================== */
/* pinned cinematic scrub: the video sticks to the screen while ~1.5
   viewports of scroll pour the paint — slow, deliberate, no gradients */
.scrub-band {
  position: relative; background: var(--black);
  height: 250vh;
}
.scrub-sticky {
  position: sticky; top: 0;
  height: 100vh; height: 100svh;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.scrub-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover;
}
.scrub-line {
  position: relative; z-index: 2; text-align: center; padding: 0 24px;
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(30px, 4.6vw, 58px); line-height: 1.1; color: var(--white);
  text-shadow: 0 4px 28px rgba(0, 0, 0, .65);
}
.scrub-line i { font-style: italic; color: var(--orange); }

/* ==========================================================
   PARTNERS
   ========================================================== */
.partners .giant { margin-bottom: clamp(40px, 5vw, 64px); }

.partner-feature {
  display: flex; align-items: center; gap: 26px; flex-wrap: wrap;
  padding: clamp(22px, 3vw, 34px) 0;
  border-top: 1px solid rgba(255, 255, 255, .14);
  border-bottom: 1px solid rgba(255, 255, 255, .14);
  margin-bottom: clamp(30px, 4vw, 50px);
}
.partner-feature img { height: clamp(44px, 5vw, 64px); width: auto; }
.partner-feature p { font-size: 15px; letter-spacing: .04em; opacity: .85; }
.partner-feature strong { color: var(--orange); }

.partner-grid {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: clamp(14px, 2vw, 26px);
}
.partner {
  display: flex; align-items: center; justify-content: center;
  min-height: 104px; padding: 18px;
  border: 1px solid rgba(255, 255, 255, .1);
  transition: border-color .3s ease, transform .3s var(--ease-paint), background-color .3s ease;
}
.partner img {
  max-height: 46px; width: auto; max-width: 82%; object-fit: contain;
  opacity: .9; transition: opacity .3s ease, transform .3s var(--ease-paint);
}
.partner:hover { border-color: var(--orange); transform: translateY(-5px) rotate(-.6deg); background: rgba(255, 255, 255, .03); }
.partner:hover img { opacity: 1; transform: scale(1.06); }

/* ==========================================================
   ABOUT
   ========================================================== */
.about {
  position: relative; background: var(--black);
  padding: clamp(80px, 11vw, 150px) 0;
  overflow: hidden;
}
.about-grid {
  display: grid; grid-template-columns: 6fr 6fr; align-items: center;
  gap: clamp(36px, 5vw, 80px);
}
.about-frame { transform: rotate(-1.1deg); }
.about-frame figcaption {
  font-family: var(--font-hand); font-size: 20px; color: var(--ink);
  padding: 12px 6px 4px; text-align: center;
}
.about-copy p:not(.kicker) {
  font-size: clamp(15.5px, 1.7vw, 17.5px); line-height: 1.7; opacity: .88;
  margin-bottom: 18px; max-width: 560px;
}
.about-copy p em { color: var(--orange); font-style: italic; }
.about-copy .giant em { color: var(--white); }

.chip-link {
  display: inline-block; margin-top: 12px;
  background: var(--paper); color: var(--ink);
  font-weight: 600; font-size: 14.5px; letter-spacing: .02em;
  padding: 13px 22px;
  transform: rotate(-.8deg);
  clip-path: polygon(1% 12%, 4% 0%, 98% 2%, 100% 30%, 99% 90%, 95% 100%, 2% 98%, 0% 66%);
  transition: transform .3s var(--ease-paint), background-color .25s ease;
}
.chip-link:hover { transform: rotate(.4deg) scale(1.03); background: var(--white); }
.chip-link b { color: var(--red); }

/* ==========================================================
   CONTACT
   ========================================================== */
.contact {
  position: relative; background: var(--red);
  padding: clamp(90px, 12vw, 170px) 0 clamp(70px, 8vw, 110px);
  overflow: hidden;
}
.contact .kicker { color: var(--white); }

.contact-mail {
  display: inline-block;
  margin: -10px 0 clamp(36px, 5vw, 56px);
  font-family: var(--font-display); font-weight: 600; font-style: italic;
  font-size: clamp(22px, 3.4vw, 40px); color: var(--white);
  border-bottom: 4px solid var(--orange);
  padding-bottom: 6px;
  transition: color .25s ease, transform .3s var(--ease-paint);
}
.contact-mail:hover { color: var(--orange); transform: rotate(-.6deg); }
.contact-mail .mail-note {
  font-family: var(--font-hand); font-style: normal; font-weight: 500;
  font-size: clamp(16px, 1.8vw, 21px); opacity: .8; margin-left: 16px;
}

.contact-actions {
  display: flex; flex-wrap: wrap; gap: clamp(14px, 2vw, 22px);
  margin-bottom: clamp(50px, 7vw, 90px);
}
.paint-btn {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--paper); color: var(--ink);
  font-weight: 700; font-size: 15px; letter-spacing: .04em;
  padding: 16px 26px;
  clip-path: polygon(2% 16%, 5% 2%, 97% 0%, 100% 28%, 98% 86%, 94% 100%, 3% 97%, 0% 62%);
  transition: transform .3s var(--ease-paint), background-color .25s ease, color .25s ease;
}
.paint-btn:nth-child(odd) { transform: rotate(-1deg); }
.paint-btn:nth-child(even) { transform: rotate(.8deg); }
.paint-btn:hover { transform: rotate(0deg) translateY(-4px); background: var(--black); color: var(--white); }
.paint-btn svg { width: 20px; height: 20px; fill: currentColor; }

.contact-foot {
  display: flex; gap: clamp(40px, 8vw, 120px); flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, .3);
  padding-top: 36px;
}
.addr-label {
  font-family: var(--font-hand); font-size: 22px; color: var(--white);
  display: block; margin-bottom: 10px; opacity: .85;
}
.addr p { font-size: 15.5px; line-height: 1.8; color: var(--white); }
.addr a { border-bottom: 2px solid rgba(255, 255, 255, .4); transition: border-color .2s ease; }
.addr a:hover { border-color: var(--white); }

/* ==========================================================
   FOOTER
   ========================================================== */
.site-footer {
  background: var(--black);
  padding: 52px 24px 44px; text-align: center;
}
.site-footer .brand-chip { margin-bottom: 22px; }
.foot-slogan {
  font-family: var(--font-display); font-style: italic; font-weight: 500;
  font-size: clamp(17px, 2vw, 21px); opacity: .85; margin-bottom: 10px;
}
.foot-legal { font-size: 13px; letter-spacing: .06em; opacity: .5; }

/* ==========================================================
   RESPONSIVE
   ========================================================== */
@media (max-width: 1024px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .partner-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 860px) {
  .site-nav { display: none; }
  .nav-burger { display: block; }

  .hero-ui { top: 54%; }

  .work-piece, .work-piece.flip { grid-template-columns: 1fr; gap: 26px; }
  .work-piece.flip .frame { order: 0; }
  .work-piece.flip .work-info { order: 0; text-align: left; }
  .work-piece.flip .work-info .work-tags { justify-content: flex-start; }

  .about-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 40px; }

  .seam-top-black { top: -7vw; height: 10vw; }
  .seam-top-white { top: -6vw; height: 9vw; }
  .seam-top-red { top: -6.5vw; height: 9.5vw; }
}

@media (max-width: 640px) {
  .service-grid { grid-template-columns: 1fr; }
  .service-card:nth-child(n) { transform: rotate(0deg) translateY(30px); }
  .service-card.in:nth-child(n) { transform: none; }

  .partner-grid { grid-template-columns: repeat(2, 1fr); }
  .partner { min-height: 88px; }

  .hero-sub { max-width: 320px; margin-left: auto; margin-right: auto; }

  .contact-actions { flex-direction: column; align-items: stretch; }
  .paint-btn { justify-content: center; }

  .splat-services, .splat-partners { display: none; }
}

/* ==========================================================
   RENDER BUDGET
   below-the-fold sections skip layout/paint until approached
   ========================================================== */
.work, .process, .partners, .about, .contact, .site-footer {
  content-visibility: auto;
  contain-intrinsic-size: auto 900px;
}

/* ==========================================================
   PROSE IN THE ARTIST'S OWN HAND
   descriptive copy uses the handwritten face (like № 01 / № 02);
   plain sans stays only on structural labels (nav, kickers, tags)
   ========================================================== */
.hero-sub {
  font-family: var(--font-hand); font-weight: 500;
  font-size: clamp(20px, 2.3vw, 25px); letter-spacing: .01em;
}
.lede {
  font-family: var(--font-hand); font-weight: 500;
  font-size: clamp(22px, 2.6vw, 28px); line-height: 1.5;
}
.quote-inner p {
  font-family: var(--font-hand); font-weight: 500;
  font-size: clamp(21px, 2.4vw, 27px);
}
.service-card p {
  font-family: var(--font-hand); font-weight: 500;
  font-size: clamp(18px, 1.7vw, 21px); line-height: 1.4;
}
.work-info > p:not(.work-tags) {
  font-family: var(--font-hand); font-weight: 500;
  font-size: clamp(20px, 1.9vw, 23px); line-height: 1.45;
}
.step p {
  font-family: var(--font-hand); font-weight: 500;
  font-size: clamp(19px, 1.8vw, 22px); line-height: 1.4;
}
.about-copy p:not(.kicker) {
  font-family: var(--font-hand); font-weight: 500;
  font-size: clamp(20px, 2vw, 24px); line-height: 1.5;
}
.partner-feature p {
  font-family: var(--font-hand); font-weight: 500;
  font-size: clamp(19px, 1.9vw, 23px);
}
.addr p {
  font-family: var(--font-hand); font-weight: 500;
  font-size: clamp(19px, 1.8vw, 22px); line-height: 1.65;
}
.foot-legal {
  font-family: var(--font-hand); font-size: 17px; letter-spacing: .03em;
}

/* ==========================================================
   MOTION SAFETY
   ========================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .mt-a, .mt-b, .loader-logo, .scroll-cue-line { animation: none; }
  .reveal { opacity: 1; transform: none; }
  .stroke-behind { clip-path: none; }
  *, *::before, *::after { transition-duration: .01s !important; }
}
