:root {
  --paper: #f4f2ed;
  --white: #fff;
  --ink: #171717;
  --muted: #696965;
  --line: rgba(23, 23, 23, .16);
  --pink: #ff7193;
  --lime: #d6fa66;
  --blue: #5c9eff;
  --violet: #dfd9ff;
  --radius: 30px;
  --pad: clamp(24px, 5vw, 78px);
  --content-max: 1450px;
  --section-gutter: max(var(--pad), calc((100vw - var(--content-max)) / 2));
}

* { box-sizing: border-box; }
html { overflow-x: hidden; scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; background: var(--paper); color: var(--ink); font-family: "DM Sans", sans-serif; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
img { display: block; max-width: 100%; }

.site-loader { position: fixed; z-index: 1000; inset: 0; display: grid; place-items: center; overflow: hidden; background: var(--paper); opacity: 1; transform: translateY(0); transition: opacity .28s ease, transform .42s cubic-bezier(.2,.8,.2,1), visibility 0s linear .42s; will-change: opacity, transform; animation: loader-failsafe 1ms 3s forwards; }
.site-loader__inner { width: min(76vw, 520px); display: grid; justify-items: center; gap: 30px; }
.site-loader__logo { width: 100%; height: auto; opacity: 0; filter: blur(4px); transform: translateY(12px); animation: loader-logo-in .48s .08s cubic-bezier(.2,.8,.2,1) forwards; }
.site-loader__progress { position: relative; width: min(66%, 330px); height: 3px; overflow: hidden; border-radius: 999px; background: rgba(23,23,23,.1); opacity: 0; animation: loader-progress-in .28s .2s ease forwards; }
.site-loader__progress::after { content: ""; position: absolute; inset: 0; width: 54%; border-radius: inherit; background: linear-gradient(90deg, var(--pink), var(--blue), #51d7b5, var(--lime)); transform: translateX(-115%); animation: loader-progress-run .82s .22s cubic-bezier(.55,0,.2,1) forwards; }
.is-site-ready .site-loader { visibility: hidden; pointer-events: none; opacity: 0; transform: translateY(-12px); }
@keyframes loader-logo-in { to { opacity: 1; filter: blur(0); transform: translateY(0); } }
@keyframes loader-progress-in { to { opacity: 1; } }
@keyframes loader-progress-run { to { transform: translateX(186%); } }
@keyframes loader-failsafe { to { visibility: hidden; pointer-events: none; opacity: 0; } }

.site-header { position: fixed; z-index: 20; top: 14px; left: 50%; width: calc(100% - 28px); max-width: calc(var(--content-max) + 30px); height: 72px; padding: 0 14px 0 22px; display: flex; align-items: center; justify-content: space-between; border: 1px solid rgba(255,255,255,.45); border-radius: 18px; background: rgba(244,242,237,.78); box-shadow: 0 12px 40px rgba(20,20,20,.06); backdrop-filter: blur(18px); transform: translateX(-50%); }
.brand { min-height: 44px; display: inline-flex; align-items: center; }
.brand__logo { width: clamp(150px, 12vw, 178px); height: auto; }
.nav { margin-inline-start: auto; display: flex; align-items: center; font-size: 14px; font-weight: 500; }
.nav__links { position: absolute; top: 50%; left: 50%; display: flex; align-items: center; gap: clamp(20px, 2.5vw, 42px); transform: translate(-50%, -50%); }
.nav__links > a { position: relative; min-height: 44px; display: inline-flex; align-items: center; white-space: nowrap; }
.nav__links > a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 7px; height: 1px; background: var(--ink); transition: right .25s ease; }
.nav__links > a:hover::after, .nav__links > a[aria-current="page"]::after { right: 0; }
.menu-toggle { display: none; }

.section-pad { padding-inline: var(--section-gutter); }
section[id] { scroll-margin-top: 104px; }
.hero { position: relative; min-height: 680px; padding-top: 145px; padding-bottom: 60px; display: block; }
.hero__content { max-width: 1240px; padding-right: 225px; }
.eyebrow, .section-index { margin: 0; font-size: 12px; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; }
.eyebrow { display: flex; align-items: center; gap: 10px; }
.eyebrow span { width: 30px; height: 3px; background: linear-gradient(90deg, var(--pink), var(--blue)); }
h1, h2, h3 { margin: 0; font-family: Kanit, sans-serif; font-weight: 500; letter-spacing: -.045em; line-height: .96; }
h1 { max-width: 1040px; margin-top: 32px; font-size: clamp(52px, 5.2vw, 82px); }
h1 em, h2 em { color: var(--pink); font-weight: inherit; }
.hero__lead { max-width: 790px; margin: 46px 0 0; color: #4d4d49; font-size: clamp(16px, 1.25vw, 19px); line-height: 1.6; }
.hero__actions { margin-top: 42px; display: flex; align-items: center; gap: 12px; }
/* Reusable button component: base + visual and size modifiers. */
.c-button { min-height: 58px; width: fit-content; padding: 0 24px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid transparent; border-radius: 15px; background: transparent; color: var(--ink); font: 600 14px/1 "DM Sans", sans-serif; cursor: pointer; user-select: none; transition: background .25s ease, border-color .25s ease, color .25s ease, transform .25s ease; }
.c-button:hover { transform: translateY(-2px); }
.c-button:active { transform: translateY(0) scale(.96); }
.c-button:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.c-button--primary { border-color: var(--ink); background: var(--ink); color: var(--white); }
.c-button--primary:hover { border-color: #333; background: #333; }
.c-button--secondary { border-color: rgba(23,23,23,.55); background: transparent; color: var(--ink); }
.c-button--secondary:hover { background: var(--ink); color: var(--white); }
.c-button--light { border-color: rgba(255,255,255,.7); background: rgba(255,255,255,.14); color: var(--white); backdrop-filter: blur(12px); }
.c-button--light:hover { border-color: var(--white); background: var(--white); color: var(--ink); }
.c-button--compact { min-height: 44px; padding-inline: 18px; border-radius: 12px; }
.c-button--icon { width: 44px; min-height: 44px; padding: 0; border-radius: 50%; font-size: 18px; }
.nav__cta { height: 44px; min-height: 44px; }
.hero__proof { max-width: 800px; margin-top: 48px; padding-top: 20px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.hero__proof div { display: flex; align-items: flex-start; gap: 11px; }
.hero__proof strong { font-family: Kanit; font-size: 24px; line-height: 1; }
.hero__proof span { color: var(--muted); font-size: 11px; line-height: 1.35; text-transform: uppercase; }

.hero__tags { position: absolute; top: 260px; right: var(--section-gutter); width: 255px; height: 325px; }
.hero__stamp { position: absolute; top: -145px; right: 4px; width: 112px; height: 112px; display: flex; flex-direction: column; align-items: center; justify-content: center; border-radius: 50%; background: var(--pink); font-family: Kanit; font-size: 20px; font-weight: 600; line-height: .9; text-align: center; text-transform: uppercase; transform: rotate(8deg); box-shadow: 0 18px 45px rgba(23,23,23,.1); animation: stamp-in .75s .12s cubic-bezier(.2,.8,.2,1) both; }
.hero__stamp img { width: 31px; height: auto; filter: brightness(0); }
.hero__stamp span { margin-top: 8px; font-family: "DM Sans"; font-size: 9px; font-weight: 600; letter-spacing: .14em; line-height: 1.1; }
.orbit { position: absolute; z-index: 4; min-height: 44px; padding: 16px 28px; display: inline-flex; align-items: center; justify-content: center; border: 5px solid var(--paper); border-radius: 100px; font-family: Kanit; font-size: 20px; font-style: italic; box-shadow: 0 14px 35px rgba(23,23,23,.08); transform: rotate(var(--angle)); animation: tag-in .72s cubic-bezier(.2,.8,.2,1) both; }
.orbit--pink { --angle: -8deg; top: 15px; left: -5px; background: var(--pink); animation-delay: .22s; }
.orbit--lime { --angle: 7deg; top: 137px; right: 0; background: var(--lime); animation-delay: .36s; }
.orbit--blue { --angle: 5deg; bottom: 15px; left: 10px; background: var(--blue); animation-delay: .5s; }
@keyframes tag-in { from { opacity: 0; transform: translateX(58px) scale(.72) rotate(var(--angle)); } to { opacity: 1; transform: translateX(0) scale(1) rotate(var(--angle)); } }
@keyframes stamp-in { from { opacity: 0; transform: translateY(-26px) scale(.65) rotate(-6deg); } to { opacity: 1; transform: translateY(0) scale(1) rotate(8deg); } }

.ticker { overflow: hidden; border-block: 1px solid var(--ink); background: var(--ink); color: white; }
.ticker__track { width: max-content; display: flex; align-items: center; animation: ticker 19s linear infinite; }
.ticker__group { padding: 18px 58px 18px 0; display: flex; align-items: center; gap: 58px; }
.ticker span { font-family: Kanit; font-size: 20px; font-style: italic; }
.ticker img { width: 31px; height: 18px; flex: 0 0 auto; object-fit: contain; filter: brightness(0) invert(1); opacity: .78; }
@keyframes ticker { to { transform: translateX(-50%); } }

.rainbow-break {
  min-height: clamp(210px, 19vw, 280px);
  padding: 44px var(--section-gutter);
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--white);
}
.rainbow-logo {
  --gradient-shift: 50%;
  --rainbow-spectrum: linear-gradient(
    104deg,
    oklch(0.72 0.17 25) 0%,
    oklch(0.72 0.15 55) 12.5%,
    oklch(0.72 0.14 95) 25%,
    oklch(0.72 0.15 145) 37.5%,
    oklch(0.72 0.12 185) 50%,
    oklch(0.72 0.12 220) 62.5%,
    oklch(0.72 0.16 260) 75%,
    oklch(0.72 0.17 300) 87.5%,
    oklch(0.72 0.16 335) 100%
  );
  width: min(78vw, 880px);
  transform: translateZ(0);
}
.rainbow-logo__full {
  width: 100%;
  aspect-ratio: 1201 / 138;
  display: block;
  background-image: var(--rainbow-spectrum);
  background-position: var(--gradient-shift) center;
  background-size: 230% 100%;
  -webkit-mask: url("assets/logo-full.svg") center / contain no-repeat;
  mask: url("assets/logo-full.svg") center / contain no-repeat;
  filter: drop-shadow(0 12px 22px rgba(8, 164, 235, .09));
}

.rainbow-logo--css-fallback .rainbow-logo__full {
  animation: rainbow-gradient-fallback 8s ease-in-out infinite;
}

@keyframes rainbow-gradient-fallback {
  0%, 100% { background-position: 6% 50%; }
  50% { background-position: 94% 50%; }
}

.intro { padding-top: clamp(100px, 12vw, 180px); padding-bottom: clamp(100px, 12vw, 180px); }
.section-index { color: var(--muted); }
.intro__copy { margin-top: 42px; display: grid; grid-template-columns: 1.35fr .65fr; gap: 10vw; align-items: end; }
.intro h2, .section-heading h2, .process h2, .contact h2 { font-size: clamp(48px, 6.3vw, 96px); }
.intro__copy > div p { margin: 0 0 27px; color: #4c4c48; font-size: 17px; line-height: 1.65; }
.intro__actions { display: flex; flex-wrap: wrap; gap: 10px; }

.work { padding-top: clamp(90px, 10vw, 150px); padding-bottom: clamp(90px, 10vw, 150px); background: var(--white); }
.section-heading { max-width: var(--content-max); margin: 0 auto 68px; display: grid; grid-template-columns: 1.25fr .75fr; gap: 80px; align-items: end; }
.section-heading h2 { margin-top: 22px; }
.section-heading > p { max-width: 460px; margin: 0 0 7px; color: var(--muted); font-size: 17px; line-height: 1.6; }
.section-heading__aside { align-self: end; }
.section-heading__aside p { max-width: 460px; margin: 0; color: var(--muted); font-size: 17px; line-height: 1.6; }
.section-heading__aside .c-button { margin-top: 24px; }
.work-grid { max-width: var(--content-max); margin: 0 auto; display: grid; grid-template-columns: 1.15fr .85fr; gap: 18px; }
.project { position: relative; min-height: 560px; display: block; overflow: hidden; border-radius: var(--radius); }
.project--wide { grid-column: 1 / -1; min-height: 670px; }
.project img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.8,.2,1); }
.project:focus-visible { outline: 3px solid var(--blue); outline-offset: 5px; }
.project:focus-visible img { transform: scale(1.035); }
.project:focus-visible .project__arrow { border-color: var(--white); background: var(--white); color: var(--ink); transform: translateY(-2px); }
.project--wide img { object-position: center; }
.project--photo img { filter: saturate(.8) contrast(1.03); }
.project__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.28), transparent 45%, rgba(0,0,0,.76)); }
.project__meta, .project__title, .project__arrow { position: absolute; z-index: 2; }
.project__meta { top: 26px; left: 28px; right: 28px; display: flex; justify-content: space-between; color: white; font-size: 11px; letter-spacing: .09em; text-transform: uppercase; }
.project__title { left: 32px; bottom: 32px; color: white; }
.project__title h3 { font-size: clamp(40px, 5vw, 68px); }
.project__title p { margin: 8px 0 0; font-size: 15px; }
.project__arrow { right: 28px; bottom: 28px; }
.project--pink { background: var(--pink); }
.project--pink .project__meta, .project--pink .project__title { color: var(--ink); }
.project--pink .project__title { max-width: 75%; }
.project__art--type { position: absolute; inset: 76px 30px 130px; display: flex; flex-direction: column; justify-content: center; font-family: Kanit; font-size: clamp(74px, 9vw, 140px); font-weight: 600; letter-spacing: -.08em; line-height: .65; transform: rotate(-5deg); transition: transform .7s cubic-bezier(.2,.8,.2,1); }
.project--pink:focus-visible .project__art--type { transform: rotate(-5deg) scale(1.035); }
.project__art--type span:last-of-type { margin-left: 18%; color: white; }
.project__art--type i { position: absolute; right: 0; bottom: -20px; font-size: 30px; font-style: normal; letter-spacing: -.15em; }
.work__cta { max-width: 900px; margin: 90px auto 0; padding-top: 64px; display: flex; flex-direction: column; align-items: center; border-top: 1px solid var(--line); text-align: center; }
.work__cta h3 { max-width: 800px; margin: 22px 0 0; font-size: clamp(38px, 4.5vw, 66px); line-height: 1.05; }
.work__button { margin-top: 34px; }

.capabilities { padding-top: clamp(100px, 12vw, 180px); padding-bottom: clamp(100px, 12vw, 180px); }
.cap-list { max-width: var(--content-max); margin: 0 auto; display: grid; gap: 12px; }
.cap { position: relative; min-height: 390px; padding: 34px; display: grid; grid-template-columns: 90px 1fr; overflow: hidden; border-radius: var(--radius); }
.cap--pink { background: var(--pink); }
.cap--lime { background: var(--lime); }
.cap--blue { background: var(--blue); }
.cap__number { font-family: Kanit; font-size: 15px; }
.cap__body { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr .9fr; column-gap: 8vw; align-content: space-between; }
.cap__mark { grid-column: 1 / -1; font-family: Kanit; font-size: 18px; font-weight: 500; }
.cap h3 { align-self: end; max-width: 690px; margin-top: 80px; font-size: clamp(38px, 4vw, 60px); }
.cap ul { align-self: end; margin: 0; padding: 0; list-style: none; }
.cap li { padding: 10px 0; border-bottom: 1px solid rgba(0,0,0,.25); font-size: 14px; }
.cap__details { align-self: end; }
.cap__link { position: relative; z-index: 3; margin-top: 24px; }
.cap__symbol { position: absolute; right: -20px; bottom: -100px; color: rgba(255,255,255,.22); font-family: Kanit; font-size: 430px; font-weight: 600; line-height: 1; transition: transform .45s cubic-bezier(.2,.8,.2,1), color .3s ease; }
.section-contact-cta { max-width: var(--content-max); margin: 46px auto 0; display: flex; justify-content: center; }

.process { padding-top: clamp(100px, 12vw, 180px); padding-bottom: clamp(100px, 12vw, 180px); background: var(--ink); color: white; }
.process__heading { max-width: var(--content-max); margin: 0 auto; }
.section-index--light { color: rgba(255,255,255,.5); }
.process h2 { margin-top: 25px; }
.process h2 em { color: var(--lime); }
.process-grid { max-width: var(--content-max); margin: 90px auto 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255,255,255,.25); }
.process-grid article { min-height: 310px; padding: 24px 25px 0 0; border-right: 1px solid rgba(255,255,255,.25); }
.process-grid article + article { padding-left: 25px; }
.process-grid article:last-child { border-right: 0; }
.process-grid span { color: var(--lime); font-family: Kanit; font-size: 13px; }
.process-grid h3 { margin-top: 90px; font-size: 30px; }
.process-grid p { max-width: 270px; color: rgba(255,255,255,.6); font-size: 14px; line-height: 1.6; }

.testimonial { position: relative; padding-top: clamp(100px, 12vw, 170px); padding-bottom: clamp(100px, 12vw, 170px); overflow: hidden; background: var(--white); text-align: center; }
.testimonial__quote { color: var(--pink); font-family: Georgia, serif; font-size: 110px; line-height: .6; }
.testimonial__viewport { position: relative; min-height: clamp(320px, 26vw, 390px); }
.testimonial__slide { position: absolute; inset: 0; padding-top: 30px; display: flex; flex-direction: column; align-items: center; justify-content: center; visibility: hidden; opacity: 0; transform: translateY(12px); transition: opacity .28s ease, transform .28s cubic-bezier(.2,.8,.2,1), visibility 0s linear .28s; }
.testimonial__slide.is-active { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
.testimonial blockquote { max-width: 1120px; margin: 0 auto; font-family: Kanit; font-size: clamp(25px, 3.1vw, 46px); font-style: italic; letter-spacing: -.025em; line-height: 1.2; text-wrap: balance; }
.testimonial__author span, .testimonial__author small { display: block; }
.testimonial__author { margin-top: 40px; }
.testimonial__author span { font-family: Kanit; font-weight: 600; }
.testimonial__author small { margin-top: 5px; color: var(--muted); }
.testimonial__controls { margin-top: 32px; display: flex; justify-content: center; align-items: center; gap: 24px; color: var(--muted); font-size: 11px; letter-spacing: .12em; }
.testimonial__counter { min-width: 58px; font-variant-numeric: tabular-nums; }
.testimonial__progress { width: min(260px, 55vw); height: 3px; margin: 24px auto 0; overflow: hidden; border-radius: 999px; background: rgba(23,23,23,.13); }
.testimonial__progress-bar { width: 100%; height: 100%; display: block; border-radius: inherit; background: var(--ink); transform: scaleX(0); transform-origin: left center; }

.contact { padding-top: 75px; background: var(--violet); }
.contact__top { padding-bottom: 44px; display: flex; justify-content: space-between; border-bottom: 1px solid rgba(0,0,0,.2); }
.contact__top > p:last-child { margin: 0; font-size: 14px; }
.contact__main { min-height: 560px; display: flex; align-items: center; justify-content: space-between; gap: 60px; }
.contact-message p { max-width: 650px; margin: clamp(40px, 3.5vw, 54px) 0 0; color: rgba(0,0,0,.62); font-size: 16px; line-height: 1.7; text-wrap: pretty; }
.contact h2 em { color: #6d57ee; }
.contact__button { min-width: 190px; margin-top: 30px; box-shadow: 0 14px 34px rgba(23,23,23,.12); }
.contact__stamp { width: clamp(150px, 15vw, 210px); aspect-ratio: 1; flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; justify-content: center; border-radius: 50%; background: var(--pink); box-shadow: 0 20px 48px rgba(23,23,23,.11); font-family: "DM Sans", sans-serif; font-weight: 600; letter-spacing: .14em; line-height: 1.05; text-align: center; text-transform: uppercase; transform: rotate(7deg); }
.contact__stamp img { width: 31%; filter: brightness(0); }
.contact__stamp span { margin-top: 15px; font-size: clamp(10px, 1vw, 13px); }
.contact-details { margin-bottom: 70px; padding: 8px; display: grid; grid-template-columns: .9fr 1.25fr 1fr 1fr; overflow: hidden; border-radius: 30px; background: rgba(255,255,255,.5); box-shadow: 0 0 0 1px rgba(0,0,0,.055), 0 18px 55px rgba(23,23,23,.055); }
.contact-detail { min-height: 170px; padding: 22px 24px; display: flex; flex-direction: column; justify-content: space-between; }
.contact-detail:not(:last-child) { border-inline-end: 1px solid rgba(0,0,0,.12); }
.contact-detail small { display: flex; align-items: center; gap: 9px; color: rgba(0,0,0,.52); font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.contact-detail small::before { content: ""; width: 6px; height: 6px; flex: 0 0 auto; border-radius: 50%; background: currentColor; opacity: .65; }
.contact-detail strong { max-width: 30ch; font-family: Kanit, sans-serif; font-size: clamp(19px, 1.35vw, 21px); font-weight: 500; letter-spacing: -.025em; line-height: 1.25; overflow-wrap: break-word; }
.contact-detail strong a { min-height: 44px; max-width: 100%; margin-block: -10px; padding-block: 10px; display: inline-flex; align-items: center; color: inherit; overflow-wrap: anywhere; transition: opacity .2s ease; }
.contact-detail strong a[href^="mailto:"],
.contact-detail strong.contact-detail__single-line { white-space: nowrap; overflow-wrap: normal; }
.contact-detail strong a:hover { opacity: .62; }
.contact-detail > a { min-height: 44px; width: fit-content; padding: 0 14px; display: inline-flex; align-items: center; border: 1px solid rgba(0,0,0,.35); border-radius: 12px; font-size: 12px; font-weight: 600; transition: background-color .2s ease, color .2s ease, border-color .2s ease; }
.contact-detail > a:hover { border-color: var(--ink); background: var(--ink); color: var(--white); }
.contact-detail a:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
.footer { width: 100%; max-width: var(--content-max); margin-inline: auto; padding: 48px 0 30px; display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); gap: 50px; border-top: 1px solid rgba(0,0,0,.2); }
.brand--footer { align-self: start; }
.brand--footer .brand__logo { width: clamp(185px, 17vw, 230px); }
.footer > div:not(.footer__bottom) { display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.footer > div:not(.footer__bottom) a { min-height: 44px; display: inline-flex; align-items: center; }
.footer small { color: rgba(0,0,0,.55); }
.footer__bottom { grid-column: 1 / -1; margin-top: 28px; padding-top: 20px; display: flex; justify-content: space-between; border-top: 1px solid rgba(0,0,0,.12); color: rgba(0,0,0,.55); font-size: 11px; }
.footer__identity { display: flex; align-items: center; flex-wrap: wrap; gap: 7px 18px; line-height: 1.55; }
.footer__legal { display: flex; align-items: center; gap: 24px; }
.footer__legal a { min-height: 44px; display: inline-flex; align-items: center; }
.footer__legal a:hover { color: var(--ink); }

.reveal { opacity: 0; transform: translateY(42px); transition: opacity .85s ease var(--reveal-delay, 0s), transform .85s cubic-bezier(.2,.8,.2,1) var(--reveal-delay, 0s); will-change: opacity, transform; }
.reveal[data-reveal="left"] { transform: translateX(-58px); }
.reveal[data-reveal="right"] { transform: translateX(58px); }
.reveal[data-reveal="scale"] { transform: translateY(24px) scale(.94); }
.reveal--delay, .reveal--d1 { --reveal-delay: .1s; }
.reveal--d2 { --reveal-delay: .2s; }
.reveal--d3 { --reveal-delay: .3s; }
.reveal.is-visible { opacity: 1; transform: none; }
.cap.reveal { transition: opacity .85s ease var(--reveal-delay, 0s), transform .85s cubic-bezier(.2,.8,.2,1) var(--reveal-delay, 0s), translate .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s ease; }
.cap:focus-visible { outline: 3px solid var(--ink); outline-offset: 5px; }
.cap:focus-visible .cap__link { border-color: var(--ink); background: var(--ink); color: var(--white); transform: translateY(-2px); }

@media (hover: hover) and (pointer: fine) {
  .project:hover img { transform: scale(1.035); }
  .project--pink:hover .project__art--type { transform: rotate(-5deg) scale(1.035); }
  .project:hover .project__arrow { border-color: var(--white); background: var(--white); color: var(--ink); transform: translateY(-2px); }
  .cap.reveal.is-visible:hover { translate: 0 -6px; box-shadow: 0 0 0 1px oklch(0 0 0 / .06), 0 18px 38px oklch(0 0 0 / .11); }
  .cap:hover .cap__symbol { color: rgba(255,255,255,.3); transform: translate3d(-12px, -8px, 0) rotate(-2deg); }
  .cap:hover .cap__link { border-color: var(--ink); background: var(--ink); color: var(--white); transform: translateY(-2px); }
}

@media (max-width: 1280px) {
  .contact-details { grid-template-columns: repeat(2, 1fr); }
  .contact-detail:not(:last-child) { border-inline-end: 0; }
  .contact-detail:nth-child(odd) { border-inline-end: 1px solid rgba(0,0,0,.12); }
  .contact-detail:nth-child(-n+2) { border-bottom: 1px solid rgba(0,0,0,.12); }
}

@media (max-width: 1050px) {
  .hero__content { padding-right: 175px; }
  .hero__tags { width: 205px; }
  .hero__proof { gap: 12px; }
  .hero__proof div { display: block; }
  .hero__proof span { display: block; margin-top: 5px; }
  .cap__body { grid-template-columns: 1fr 1fr; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid article:nth-child(2) { border-right: 0; }
  .process-grid article:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.25); }
}

@media (max-width: 920px) {
  .site-header { top: 8px; width: calc(100% - 16px); height: 62px; padding-left: 16px; border-radius: 15px; }
  .brand__logo { width: 150px; }
  .menu-toggle { width: 47px; height: 44px; padding: 0; display: grid; place-content: center; gap: 5px; border: 0; border-radius: 10px; background: var(--ink); color: white; }
  .menu-toggle span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .menu-toggle i { width: 20px; height: 1px; background: white; transition: transform .2s ease; }
  .menu-toggle[aria-expanded="true"] i:first-of-type { transform: translateY(3px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] i:last-of-type { transform: translateY(-3px) rotate(-45deg); }
  .nav { position: fixed; top: 78px; left: 8px; right: 8px; padding: 16px; display: none; flex-direction: column; align-items: stretch; gap: 0; border-radius: 15px; background: var(--ink); color: white; box-shadow: 0 18px 50px rgba(0,0,0,.2); }
  .nav.is-open { display: flex; }
  .nav__links { position: static; display: flex; flex-direction: column; align-items: stretch; gap: 0; transform: none; }
  .nav a { padding: 16px 5px; border-bottom: 1px solid rgba(255,255,255,.15); }
  .nav__links a { justify-content: center; text-align: center; }
  .nav__links > a::after { display: none; }
  .nav__cta { width: 100%; margin-top: 10px; border-color: var(--lime); background: var(--lime); color: var(--ink); }

  .hero {
    min-height: auto;
    padding-bottom: 60px;
  }

  .hero__content {
    padding-right: 0;
  }

  .hero__tags {
    position: relative;
    top: auto;
    right: auto;
    width: auto;
    height: auto;
    margin-top: 84px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }

  .hero__stamp {
    top: -74px;
    right: 0;
    width: 82px;
    height: 82px;
    font-size: 15px;
  }

  .orbit {
    position: static;
    padding: 13px 22px;
    border-width: 4px;
    font-size: 17px;
  }

  .orbit--pink { --angle: -4deg; }
  .orbit--lime { --angle: 3deg; }
  .orbit--blue { --angle: -2deg; }

  .intro__copy,
  .section-heading {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .section-heading {
    margin-bottom: 56px;
  }

  .section-heading__aside {
    max-width: 560px;
  }

  .work-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .project:not(.project--wide) {
    min-height: 520px;
  }

  .footer {
    grid-template-columns: 1fr 1fr;
    gap: 35px 28px;
  }

  .brand--footer,
  .footer > div:nth-of-type(2) {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  :root { --pad: 20px; --radius: 22px; }
  section[id] { scroll-margin-top: 84px; }

  .hero { min-height: auto; padding-top: 112px; padding-bottom: 48px; }
  .hero__content { padding-right: 0; }
  h1 { margin-top: 25px; font-size: clamp(42px, 12vw, 50px); }
  .hero__lead { max-width: 100%; margin-top: 31px; font-size: 16px; }
  .hero__actions { margin-top: 31px; align-items: stretch; flex-direction: column; gap: 9px; }
  .hero__actions .c-button { width: 100%; }
  .hero__proof { margin-top: 34px; grid-template-columns: repeat(3, 1fr); }
  .hero__proof strong { font-size: 20px; }
  .hero__proof span { font-size: 8px; }
  .hero__tags { margin-top: 80px; padding-right: 0; flex-wrap: nowrap; gap: 4px; }
  .hero__stamp { top: -70px; right: 0; width: 74px; height: 74px; font-size: 14px; }
  .hero__stamp span { margin-top: 5px; font-size: 6px; }
  .orbit { padding: 11px 17px; border-width: 3px; font-size: 14px; }
  .orbit--pink { --angle: -4deg; }
  .orbit--lime { --angle: 3deg; }
  .orbit--blue { --angle: -2deg; }

  .ticker__group { padding: 14px 38px 14px 0; gap: 38px; }
  .ticker span { font-size: 17px; }
  .ticker img { width: 27px; height: 16px; }
  .rainbow-break { min-height: 180px; padding-block: 38px; }
  .rainbow-logo { width: min(88vw, 620px); }
  .intro__copy, .section-heading { display: block; }
  .intro__copy { margin-top: 28px; }
  .intro h2, .section-heading h2, .process h2, .contact h2 { font-size: clamp(46px, 13vw, 64px); }
  .intro__copy > div { margin-top: 36px; }
  .intro__actions .c-button { width: 100%; }
  .section-heading { margin-bottom: 42px; }
  .section-heading > p { margin-top: 25px; font-size: 16px; }
  .section-heading__aside { margin-top: 25px; }
  .section-heading__aside p { font-size: 16px; }
  .section-heading__aside .c-button { margin-top: 22px; }
  .work-grid { display: block; }
  .project, .project--wide { min-height: 510px; margin-bottom: 12px; }
  .project--wide img { object-position: 63% center; }
  .project__title { right: 25px; bottom: 88px; }
  .project__title h3 { font-size: 44px; }
  .project__arrow { left: 25px; right: auto; }
  .project__art--type { font-size: 84px; }
  .work__cta { margin-top: 65px; padding-top: 48px; }
  .work__cta h3 { font-size: 38px; }

  .cap { min-height: 570px; padding: 24px; display: block; }
  .cap__body { display: block; }
  .cap__mark { display: block; margin-top: 34px; }
  .cap h3 { margin-top: 55px; font-size: 40px; }
  .cap ul { margin-top: 55px; }
  .cap__link { margin-top: 26px; }
  .cap__symbol { right: -14px; bottom: -60px; font-size: 260px; }

  .process-grid { margin-top: 55px; display: block; border-top: 1px solid rgba(255,255,255,.25); }
  .process-grid article, .process-grid article + article { min-height: auto; padding: 28px 0 36px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.25); }
  .process-grid article:nth-child(n+3) { border-top: 0; }
  .process-grid h3 { margin-top: 40px; }
  .section-contact-cta { margin-top: 36px; }
  .section-contact-cta .c-button { width: 100%; }
  .testimonial__viewport {
    min-height: 0;
    display: grid;
  }
  .testimonial__slide {
    position: relative;
    inset: auto;
    min-width: 0;
    padding-top: 20px;
    grid-area: 1 / 1;
  }
  .testimonial blockquote { font-size: 26px; line-height: 1.25; text-wrap: pretty; }
  .testimonial__author { margin-top: 32px; }
  .contact__top { display: block; }
  .contact__top > p:last-child { margin-top: 20px; }
  .contact__main { min-height: 620px; padding: 70px 0 56px; display: flex; flex-direction: column; align-items: stretch; gap: 46px; }
  .contact-message p { margin-top: 32px; }
  .contact__button { width: 100%; margin-top: 28px; }
  .contact__stamp { width: 132px; align-self: center; }
  .contact__stamp span { margin-top: 10px; font-size: 8px; }
  .contact-details { margin-bottom: 52px; grid-template-columns: 1fr; border-radius: 22px; }
  .contact-detail { min-height: 140px; padding: 20px 18px; }
  .contact-detail:nth-child(odd) { border-inline-end: 0; }
  .contact-detail:nth-child(-n+2) { border-bottom: 0; }
  .contact-detail:not(:last-child) { border-bottom: 1px solid rgba(0,0,0,.12); }
  .contact-detail strong { font-size: 19px; }
  .footer { grid-template-columns: 1fr 1fr; gap: 35px 20px; }
  .brand--footer { grid-column: 1 / -1; }
  .footer > div:nth-of-type(2) { grid-column: 1 / -1; }
  .footer > div:not(.footer__bottom) a,
  .footer__bottom a {
    min-height: 44px;
    display: flex;
    align-items: center;
  }
  .footer__bottom a { justify-content: flex-end; }
  .footer__bottom { align-items: flex-start; }
  .footer__identity { max-width: 54%; flex-direction: column; align-items: flex-start; gap: 3px; }
  .footer__legal { flex-direction: column; align-items: flex-end; gap: 0; }
}

@media (max-width: 520px) {
  .footer { grid-template-columns: 1fr; gap: 26px; }
  .brand--footer,
  .footer > div:nth-of-type(2) { grid-column: auto; }
  .footer__bottom { margin-top: 8px; flex-direction: column; gap: 12px; }
  .footer__identity { max-width: none; }
  .footer__legal { flex-direction: row; align-items: center; flex-wrap: wrap; gap: 0 20px; }
  .footer__bottom a { justify-content: flex-start; }
}

@media (max-width: 360px) {
  .hero__tags {
    justify-content: center;
    gap: 1px;
  }

  .orbit {
    padding: 10px 12px;
    border-width: 2px;
    font-size: 13px;
  }

  .hero__stamp {
    right: 2px;
  }

  .contact-detail strong {
    width: 100%;
    max-width: 100%;
    font-size: clamp(16px, 5vw, 19px);
  }

  .contact-detail strong a[href^="mailto:"],
  .contact-detail strong.contact-detail__single-line {
    width: 100%;
  }

  .footer__bottom {
    gap: 16px;
  }

  .footer__identity { max-width: 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; }
  .site-loader { display: none; }
  .reveal { opacity: 1; transform: none; }
  .rainbow-logo { --gradient-shift: 50% !important; }
  .testimonial__progress { display: none; }
}
