:root {
  --ink: #3A1515;
  --ink-soft: #6B463D;
  --paper: #FBF4EC;
  --white: #FFFFFF;
  --cobalt: #E8552E;
  --blue: #00658C;
  --peach: #F8C1AA;
  --orange: #FAA867;
  --cobalt-dark: #B83D1C;
  --cobalt-tint: #FCE1D6;
  --pink: #F8C1AA;
  --lime: #FAA867;
  --radius-lg: 40px;
  --radius-md: 28px;
  --radius-sm: 18px;
  --border: 1.5px solid var(--ink);
  --max: 1360px;
  --gutter: clamp(20px, 4vw, 40px);
  --font: 'Bricolage Grotesque', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; }
a { color: var(--cobalt-dark); }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, p { margin: 0; }
h1, h2 { font-weight: 800; letter-spacing: -0.035em; line-height: 0.95; }

.wrap { max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 9vw, 96px); }
.section-title { font-size: clamp(44px, 6vw, 72px); margin-bottom: 40px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: 999px; z-index: 100; }
.skip:focus { left: 8px; }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(250, 250, 247, 0.9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.site-header .wrap { display: flex; flex-wrap: wrap; gap: 12px 16px; justify-content: space-between; align-items: center; padding-block: 16px; }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); font-weight: 800; font-size: 22px; }
.logo:hover { color: var(--ink); }
.logo-mark { width: 40px; height: 40px; border-radius: 50%; background: var(--cobalt); color: var(--white); display: inline-flex; align-items: center; justify-content: center; font-size: 17px; }
.nav { display: flex; flex-wrap: wrap; gap: 4px; background: var(--white); border: var(--border); border-radius: 999px; padding: 5px; font-weight: 600; font-size: 15px; }
.nav a { padding: 10px 16px; border-radius: 999px; text-decoration: none; color: var(--ink); min-height: 44px; display: inline-flex; align-items: center; }
.nav a:hover { background: var(--cobalt-tint); color: var(--ink); }
.nav a.nav-cta { background: var(--cobalt); color: var(--white); }
.nav a.nav-cta:hover { background: var(--cobalt-dark); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 14px 26px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 17px; border: var(--border); cursor: pointer; font-family: inherit; transition: transform 0.2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { color: var(--white); }
.btn-outline { background: transparent; color: var(--ink); }
.btn-outline:hover { color: var(--ink); }
.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pill { padding: 8px 14px; border-radius: 999px; font-weight: 600; font-size: 14px; border: 1.5px solid transparent; }
.pill-lime { background: var(--lime); }
.pill-pink { background: var(--pink); }
.pill-line { border-color: var(--ink); }

.hero .wrap { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; padding-block: clamp(40px, 7vw, 72px) 48px; }
.hero-copy { flex: 1 1 480px; min-width: 0; }
.hero-copy .pills { margin-bottom: 28px; }
.hero h1 { font-size: clamp(54px, 7.5vw, 116px); }
.hero h1 em { font-style: normal; color: var(--cobalt); }
.hero-lede { margin-top: 32px; max-width: 580px; font-size: clamp(18px, 1.6vw, 21px); color: var(--ink-soft); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero-reel { flex: 1.15 1 340px; min-width: 0; position: relative; aspect-ratio: 16 / 9; border-radius: 24px; overflow: hidden; background: var(--cobalt); transform: rotate(2deg); border: 0; padding: 0; cursor: pointer; color: var(--white); font-family: inherit; }
.hero-reel video { width: 100%; height: 100%; object-fit: cover; }
.hero-reel-label { position: absolute; inset: auto 0 0 0; display: flex; align-items: center; gap: 12px; padding: 20px 22px; font-weight: 600; font-size: 16px; background: linear-gradient(to top, rgba(20, 20, 43, 0.55), transparent); }
.play-dot { width: 48px; height: 48px; border-radius: 50%; background: var(--white); display: inline-flex; align-items: center; justify-content: center; flex: none; }

.clients { background: var(--ink); color: var(--white); padding-block: 28px; }
.clients ul { list-style: none; margin: 0; padding: 0 var(--gutter); display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px 40px; font-weight: 800; font-size: clamp(24px, 3vw, 40px); letter-spacing: -0.02em; }
.clients .star { font-size: 0.8em; }
.clients .star:nth-of-type(odd) { color: var(--pink); }
.clients .star:nth-of-type(even) { color: var(--lime); }

.work-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 380px), 1fr)); gap: 28px; }
.card { text-decoration: none; color: var(--ink); background: var(--white); border: var(--border); border-radius: var(--radius-md); padding: 14px; display: flex; flex-direction: column; gap: 16px; transition: transform 0.25s ease, box-shadow 0.25s ease; }
.card:hover { color: var(--ink); transform: translateY(-4px) rotate(-0.5deg); box-shadow: 6px 6px 0 var(--ink); }
.card-media { position: relative; aspect-ratio: 1 / 1; border-radius: var(--radius-sm); overflow: hidden; background: var(--tint, var(--cobalt-tint)); }
.card-media video, .card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-media .placeholder, .media-box .placeholder { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 14px; color: var(--ink-soft); }
.card-body { padding: 0 8px 8px; }
.card-title { font-weight: 800; font-size: 24px; letter-spacing: -0.01em; line-height: 1.2; }
.card-meta { margin-top: 6px; font-size: 15px; color: var(--ink-soft); }

.services-panel { background: var(--cobalt); color: var(--white); border-radius: var(--radius-lg); padding: clamp(40px, 6vw, 64px) clamp(24px, 4vw, 48px); }
.services-panel .section-title { color: var(--white); }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 32px; }
.service h3 { font-weight: 800; font-size: 26px; margin-bottom: 10px; line-height: 1.15; }
.service p { color: var(--cobalt-tint); line-height: 1.55; }

.process-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 36px; }
.process-head .section-title { margin-bottom: 0; }
.step { background: var(--white); border: var(--border); border-radius: 24px; padding: 28px; }
.step-num { display: inline-flex; width: 44px; height: 44px; border-radius: 50%; background: var(--cobalt); color: var(--white); align-items: center; justify-content: center; font-weight: 800; font-size: 18px; }
.step h3 { margin: 20px 0 8px; font-weight: 800; font-size: 22px; }
.step p { color: var(--ink-soft); line-height: 1.55; }

.about { display: flex; flex-wrap: wrap; gap: 40px 72px; align-items: center; }
.about-photo { flex: 1 1 320px; max-width: 460px; aspect-ratio: 1 / 1; border-radius: 50%; overflow: hidden; background: var(--pink); position: relative; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-photo .placeholder { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-weight: 600; }
.about-copy { flex: 999 1 460px; min-width: 0; }
.about-copy h2 { font-size: clamp(40px, 5vw, 56px); margin-bottom: 24px; }
.about-copy p { font-size: 19px; line-height: 1.6; color: var(--ink-soft); margin-bottom: 18px; }
.tools { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; padding: 0; list-style: none; }
.tools li { font-size: 14px; font-weight: 600; padding: 6px 12px; border: var(--border); border-radius: 999px; }

.contact-panel { background: var(--lime); border: var(--border); border-radius: var(--radius-lg); padding: clamp(48px, 7vw, 72px) clamp(24px, 4vw, 48px); display: flex; flex-wrap: wrap; gap: 32px; justify-content: space-between; align-items: flex-end; }
.contact-panel h2 { font-size: clamp(44px, 7vw, 104px); max-width: 820px; }
.contact-actions { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.copy-btn { background: transparent; border: 0; padding: 8px 0; font: inherit; font-weight: 600; color: var(--ink); text-decoration: underline; cursor: pointer; min-height: 44px; }

.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 32px; justify-content: space-between; padding-block: 32px 48px; font-size: 15px; color: var(--ink-soft); }
.site-footer nav { display: flex; gap: 24px; }

.case-hero { padding-block: clamp(32px, 6vw, 64px) 32px; }
.back-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; min-height: 44px; margin-bottom: 24px; }
.case-hero h1 { font-size: clamp(48px, 7vw, 104px); max-width: 1100px; }
.case-hero .lede { margin-top: 24px; max-width: 720px; font-size: 21px; color: var(--ink-soft); }
.case-meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 20px; margin: 40px 0 0; padding: 24px 0 0; border-top: var(--border); }
.case-meta dt { font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); }
.case-meta dd { margin: 6px 0 0; font-weight: 600; font-size: 18px; }
.media-box { position: relative; border-radius: var(--radius-md); overflow: hidden; background: var(--tint, var(--cobalt-tint)); border: var(--border); }
.media-box video, .media-box img { width: 100%; height: 100%; object-fit: cover; }
.ratio-16x9 { aspect-ratio: 16 / 9; }
.ratio-9x16 { aspect-ratio: 9 / 16; }
.ratio-1x1 { aspect-ratio: 1 / 1; }
.ratio-4x5 { aspect-ratio: 4 / 5; }
.case-text { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 40px; }
.case-text h2 { font-size: 32px; margin-bottom: 12px; letter-spacing: -0.02em; line-height: 1.1; }
.case-text p { color: var(--ink-soft); font-size: 18px; line-height: 1.6; }
.stills { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 20px; }
.next-project { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; background: var(--ink); color: var(--white); border-radius: var(--radius-lg); padding: clamp(40px, 6vw, 64px) clamp(24px, 4vw, 48px); text-decoration: none; }
.next-project:hover { color: var(--white); }
.next-project span { font-size: 15px; color: var(--lime); font-weight: 600; }
.next-project strong { display: block; font-size: clamp(32px, 5vw, 64px); letter-spacing: -0.03em; line-height: 1; margin-top: 8px; }

.lightbox { border: 0; padding: 0; background: transparent; max-width: min(1200px, 94vw); width: 100%; }
.lightbox::backdrop { background: rgba(20, 20, 43, 0.85); }
.lightbox video, .lightbox iframe { width: 100%; aspect-ratio: 16 / 9; border-radius: 16px; background: #000; border: 0; }
.lightbox-close { position: absolute; top: -56px; right: 0; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--white); color: var(--ink); font-size: 22px; cursor: pointer; }
.lightbox-inner { position: relative; margin-top: 60px; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .card, .btn { transition: none; }
  .hero-reel { transform: none; }
}

@media (max-width: 640px) {
  .site-header { position: static; }
  .nav { width: 100%; justify-content: space-between; }
  .nav a { padding: 10px 12px; }
  .hero-reel { transform: none; max-width: none; }
}
.placeholder[hidden] { display: none; }
[hidden] { display: none !important; }
.hero-reel .placeholder { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 18px; }

.rate-list { border-top: var(--border); }
.rate-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 32px; padding: 22px 0; border-bottom: var(--border); }
.rate-row h3 { font-weight: 800; font-size: 24px; letter-spacing: -0.01em; }
.rate-row p { color: var(--ink-soft); margin-top: 4px; }
.rate-row .rate-price { margin: 0; font-weight: 800; font-size: clamp(28px, 3vw, 40px); color: var(--cobalt); letter-spacing: -0.02em; white-space: nowrap; }
.rate-price span { font-size: 16px; font-weight: 600; color: var(--ink-soft); margin-left: 4px; }
.rate-note { margin-top: 20px; color: var(--ink-soft); }
.package-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 24px; }
.package { background: var(--white); border: var(--border); border-radius: var(--radius-md); padding: 32px; display: flex; flex-direction: column; gap: 6px; }
.package:nth-child(2) { background: var(--cobalt); color: var(--white); }
.package:nth-child(2) .package-time, .package:nth-child(2) li { color: var(--cobalt-tint); }
.package h3 { font-weight: 800; font-size: 26px; letter-spacing: -0.01em; }
.package-price { font-weight: 800; font-size: 36px; letter-spacing: -0.02em; margin-top: 8px; }
.package-time { color: var(--ink-soft); font-weight: 600; font-size: 15px; }
.package ul { margin: 16px 0 0; padding-left: 20px; display: grid; gap: 8px; color: var(--ink-soft); }
.terms { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 28px 40px; margin: 0; }
.terms dt { font-weight: 800; font-size: 19px; }
.terms dd { margin: 6px 0 0; color: var(--ink-soft); line-height: 1.55; }

@media print {
  @page { margin: 14mm; }
  body { background: #FFFFFF; font-size: 12pt; }
  .site-header nav, .site-footer nav, .print-hide, .skip, .copy-btn { display: none !important; }
  .site-header { position: static; background: none; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .section, .case-hero { padding-block: 16px; }
  .package, .rate-row, .terms > div { break-inside: avoid; }
  .contact-panel { break-inside: avoid; padding: 28px; }
  .contact-panel h2 { font-size: 36pt; }
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
.minimum { margin-top: 28px; background: var(--lime); border: var(--border); border-radius: var(--radius-md); padding: 24px 28px; }
.minimum h3 { font-weight: 800; font-size: 22px; margin-bottom: 6px; }
.minimum p { color: var(--ink); line-height: 1.55; }

.hero-lede { line-height: 1.75; }
.hl { display: inline-block; padding: 0 0.5em; border-radius: 999px; font-weight: 600; color: var(--ink); line-height: 1.5; transform: translate(var(--mx, 0px), var(--my, 0px)) rotate(var(--rot, 0deg)); transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1); will-change: transform; cursor: default; }
.hl:nth-of-type(odd) { --rot: -2deg; }
.hl:nth-of-type(even) { --rot: 2deg; }
.hl.is-near { transition-duration: 0.15s; }
.hl-lime { background: var(--lime); }
.hl-pink { background: var(--pink); }
.hl-cobalt { background: var(--cobalt); color: var(--white); }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .hl:hover { --rot: 0deg; }
}
@media (prefers-reduced-motion: reduce) {
  .hl { transition: none; transform: none; }
}
.hero-eyebrow { margin: 0 0 20px; font-weight: 600; font-size: clamp(16px, 1.4vw, 19px); color: var(--ink-soft); }
.hero-eyebrow span { color: var(--cobalt); margin: 0 0.35em; }

.hero .wrap { gap: clamp(32px, 5vw, 56px); }
.hero-copy { flex: 1 1 100%; display: flex; flex-wrap: wrap; gap: 24px 64px; align-items: flex-end; justify-content: space-between; }
.hero-title { flex: 1 1 520px; min-width: 0; }
.hero-side { flex: 1 1 400px; max-width: 600px; min-width: 0; }
.hero-side .hero-lede { margin-top: 0; }
.hero-side .hero-actions { margin-top: 28px; }
.hero .hero-reel { flex: 1 1 100%; max-width: none; aspect-ratio: 2 / 1; border-radius: clamp(20px, 3vw, 40px); transform: rotate(-1deg); }
.hero .hero-reel-label { padding: clamp(16px, 2.5vw, 32px); font-size: clamp(16px, 1.5vw, 20px); }
.hero .play-dot { width: clamp(48px, 5vw, 72px); height: clamp(48px, 5vw, 72px); }
@media (max-width: 640px) { .hero .hero-reel { aspect-ratio: 16 / 9; transform: none; } }
@media (max-width: 640px) {
  .nav { flex-wrap: nowrap; overflow-x: auto; gap: 0; padding: 4px; font-size: 14px; scrollbar-width: none; }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { padding: 10px 10px; white-space: nowrap; }
  .nav a.nav-cta { margin-left: auto; }
}

.hero .wrap { flex-wrap: wrap; align-items: center; gap: clamp(32px, 4vw, 56px); }
.hero-copy { flex: 0 1 500px; display: block; }
.hero-side { max-width: none; }
.hero-side .hero-lede { margin-top: 28px; }
.hero h1 { font-size: clamp(54px, 6.6vw, 96px); }
.hero .hero-reel { flex: 1 1 460px; aspect-ratio: 1.85 / 1; transform: rotate(2deg); }
@media (max-width: 640px) { .hero .hero-reel { aspect-ratio: 16 / 9; transform: none; } }
.hero-copy { flex: 0 1 570px; }
.hero h1 { font-size: clamp(52px, 6vw, 88px); }
.hero-eyebrow { font-size: clamp(15px, 1.25vw, 17px); }
.hero .hero-reel { margin-right: calc(-0.5 * var(--gutter)); }
.hero .hero-reel { aspect-ratio: 16 / 10; }
@media (max-width: 640px) { .hero .hero-reel { aspect-ratio: 16 / 9; } }
.hero .hero-reel { transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.5s ease; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) and (min-width: 641px) {
  .hero .hero-reel:hover, .hero .hero-reel:focus-visible { transform: rotate(-1.5deg) scale(1.04); box-shadow: 10px 12px 0 var(--ink); }
}

.clients { overflow: hidden; }
.marquee { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.clients:hover .marquee { animation-play-state: paused; }
.clients .marquee-track { flex: none; flex-wrap: nowrap; justify-content: flex-start; padding: 0; gap: 40px; padding-right: 40px; white-space: nowrap; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee { animation: none; width: auto; }
  .clients .marquee-track { flex-wrap: wrap; justify-content: center; padding-inline: var(--gutter); white-space: normal; }
  .clients .marquee-track[aria-hidden] { display: none; }
}
.clients .star:nth-of-type(4n+2) { color: var(--lime); }
.clients .star:nth-of-type(4n) { color: var(--pink); }

.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 24px; align-items: start; }
.gallery-wide { grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); }
.gallery-item { margin: 0; }
.gallery-item figcaption { margin-top: 10px; font-weight: 600; color: var(--ink-soft); }
.gallery .ratio-9x16 { max-width: 420px; }
.media-box video { background: #000; }
.card-media video[data-loop] { background: transparent; }
.pair { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 24px; align-items: start; }
.pair-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }

.media-box:has(video[data-hover]) { cursor: pointer; transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease; }
.vid-overlay { position: absolute; inset: 0; display: flex; align-items: flex-end; gap: 12px; padding: clamp(14px, 2vw, 22px); background: linear-gradient(to top, rgba(20, 20, 43, 0.65), rgba(20, 20, 43, 0.05) 55%); color: #FFFFFF; font-weight: 600; font-size: 16px; transition: opacity 0.3s ease; pointer-events: none; }
.vid-overlay .play-dot { width: 44px; height: 44px; }
.media-box.is-hovering .vid-overlay, .media-box.is-playing .vid-overlay { opacity: 0; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .media-box:has(video[data-hover]):hover { transform: scale(1.025); box-shadow: 8px 8px 0 var(--ink); z-index: 1; }
}

.card { --shadow: var(--cobalt); }
.work-grid .card:nth-child(3n+2) { --shadow: var(--pink); }
.work-grid .card:nth-child(3n) { --shadow: var(--lime); }
.card:hover { box-shadow: 8px 8px 0 var(--shadow); }
.media-box { --shadow: var(--cobalt); }
.gallery-item:nth-child(3n+2) .media-box { --shadow: var(--pink); }
.gallery-item:nth-child(3n) .media-box { --shadow: var(--lime); }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .media-box:has(video[data-hover]):hover { box-shadow: 8px 8px 0 var(--shadow); }
  .hero .hero-reel:hover, .hero .hero-reel:focus-visible { box-shadow: 12px 14px 0 var(--pink); }
}

.case-meta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 20px 40px; }
.case-meta > div { flex: 0 1 auto; min-width: 0; }
@media (min-width: 900px) { .case-meta dd { white-space: nowrap; } }
@media (max-width: 640px) { .case-meta { display: grid; grid-template-columns: 1fr; } }
.about-photo { display: flex; align-items: center; justify-content: center; }
.about-photo video { width: 90%; height: 90%; object-fit: contain; margin-top: 6%; }
.about-photo video { width: 100%; height: 100%; object-fit: cover; margin: 0; }
.rate-prices { display: flex; align-items: baseline; gap: 28px; }
.rate-prices .rate-price { margin: 0; }
.rate-hour { color: var(--ink) !important; }
.rate-note { font-weight: 600; color: var(--ink); }
@media (max-width: 640px) { .rate-prices { gap: 18px; } }

.case-grid { display: grid; gap: 28px; }
.case-card .case-media { aspect-ratio: 21 / 9; }
.case-body { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; }
.case-card .card-title { font-size: clamp(26px, 3vw, 36px); }
@media (max-width: 640px) { .case-card .case-media { aspect-ratio: 16 / 9; } }

.nw{white-space:nowrap}

.clients .client-link { color: inherit; text-decoration: none; display: inline-block; transition: color .2s ease, transform .2s ease; }
.clients .client-link::after { content: "↗"; display: inline-block; font-size: .5em; vertical-align: super; margin-left: .15em; opacity: 0; transform: translate(-4px,4px); transition: opacity .2s ease, transform .2s ease; }
.clients .client-link:hover, .clients .client-link:focus-visible { transform: translateY(-3px); }
.clients .client-link:hover::after, .clients .client-link:focus-visible::after { opacity: 1; transform: none; }
.clients .client-link.c0:hover, .clients .client-link.c0:focus-visible { color: var(--lime, #C8F169); }
.clients .client-link.c1:hover, .clients .client-link.c1:focus-visible { color: var(--pink, #FF9BD0); }
.clients .client-link.c2:hover, .clients .client-link.c2:focus-visible { color: #7FC4DE; }
.clients:focus-within .marquee { animation-play-state: paused; }

.gallery.trio { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 720px) { .gallery.trio { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; } }

.service .hl { padding: 0 0.45em; line-height: 1.45; }

.gallery.grid-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
.gallery.grid-5 .ratio-9x16 { max-width: none; }
.gallery.grid-5 .gallery-item figcaption { font-size: 14px; }
.ratio-email { aspect-ratio: 560 / 856; }
@media (max-width: 1000px) { .gallery.grid-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .gallery.grid-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }

.gallery.duo { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 960px; margin-inline: auto; }
.gallery.gallery-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 960px; margin-inline: auto; }
@media (max-width: 640px) { .gallery.duo, .gallery.gallery-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }

.services-panel { background: var(--blue); }
.service p { color: #D9EEF5; }
.package:nth-child(2) { background: var(--blue); }
.package:nth-child(2) .package-time, .package:nth-child(2) li { color: #D9EEF5; }
.hl-cobalt { background: var(--blue); color: var(--white); }

.ai-em { font-style: normal; color: var(--cobalt); }
.ai-principles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.ai-card { background: var(--white); border: var(--border); border-radius: var(--radius-md); padding: 28px; }
.ai-card .pill { margin-bottom: 14px; }
.ai-card h3 { font-size: 22px; margin: 0 0 8px; }
.ai-card p { margin: 0; color: var(--ink-soft); line-height: 1.55; }
.ai-steps { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 14px; }
.ai-step { display: flex; gap: 20px; align-items: flex-start; padding: 22px 24px; border: var(--border); border-radius: var(--radius-md); background: var(--white); }
.ai-step h3 { margin: 6px 0 6px; font-size: 22px; }
.ai-step p { margin: 0; color: var(--ink-soft); line-height: 1.55; max-width: 760px; }
.ai-step .step-num { flex: none; }
.ai-step:nth-child(3n+2) .step-num { background: var(--blue); }
.ai-step:nth-child(3n) .step-num { background: var(--orange); color: var(--ink); }
@media (max-width: 860px) { .ai-principles { grid-template-columns: 1fr; } }

.mcp-note { background: var(--blue); color: var(--white); border-radius: var(--radius-md); padding: 28px 32px; margin-bottom: 24px; }
.mcp-note h3 { margin: 0 0 8px; font-size: 22px; }
.mcp-note p { margin: 0; color: #D9EEF5; line-height: 1.6; max-width: 860px; }
.mcp-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 16px; }
.mcp-tile { display: flex; gap: 16px; align-items: center; background: var(--white); border: var(--border); border-radius: var(--radius-md); padding: 18px 20px; }
.mcp-tile h3 { margin: 0 0 4px; font-size: 19px; }
.mcp-tile p { margin: 0; color: var(--ink-soft); font-size: 15px; line-height: 1.5; }
.mcp-logo { flex: none; width: 52px; height: 52px; border-radius: 14px; background: transparent; display: grid; place-items: center; overflow: hidden; }
.mcp-logo img { display: block; width: 52px; height: 52px; max-width: none; object-fit: contain; }

.logo-mark { transition: transform .35s cubic-bezier(.34,1.56,.64,1), background-color .25s ease; }
.logo-mark span { display: inline-block; }
.logo:hover .logo-mark, .logo:focus-visible .logo-mark { transform: scale(1.18); background: var(--blue); }
.logo:hover .logo-mark span, .logo:focus-visible .logo-mark span { animation: logo-jiggle .5s ease-in-out infinite; }
.logo:hover .logo-mark span:nth-child(2), .logo:focus-visible .logo-mark span:nth-child(2) { animation-delay: -.25s; }
@keyframes logo-jiggle {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  25% { transform: translateY(-2px) rotate(-10deg); }
  75% { transform: translateY(1px) rotate(10deg); }
}
@media (prefers-reduced-motion: reduce) {
  .logo-mark { transition: background-color .2s ease; }
  .logo:hover .logo-mark, .logo:focus-visible .logo-mark { transform: none; }
  .logo:hover .logo-mark span, .logo:focus-visible .logo-mark span { animation: none; }
}

.vh { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.logo-word span { display: inline-block; }
.logo-word .sp { width: .28em; }
.logo:hover .logo-word span, .logo:focus-visible .logo-word span { animation: logo-jiggle .5s ease-in-out infinite; animation-delay: calc(var(--i, 0) * -0.06s); }
@media (prefers-reduced-motion: reduce) { .logo:hover .logo-word span, .logo:focus-visible .logo-word span { animation: none; } }

.gallery.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; max-width: 1100px; margin-inline: auto; }
.gallery.grid-4 .ratio-9x16 { max-width: none; }
@media (max-width: 900px) { .gallery.grid-4 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .gallery.grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }

a.hl-link { text-decoration: none; cursor: pointer; }
a.hl-link:hover, a.hl-link:focus-visible { filter: brightness(0.95); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }

.mcp-credits { margin-top: 24px; background: var(--white); border: var(--border); border-radius: var(--radius-md); padding: 24px 28px; }
.mcp-credits h3 { margin: 0 0 4px; font-size: 20px; }
.mcp-credits > p { margin: 0 0 14px; color: var(--ink-soft); font-size: 15px; }
.mcp-credits ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.mcp-credits li { font-size: 15px; line-height: 1.5; color: var(--ink-soft); padding-top: 10px; border-top: 1px dashed rgba(58,21,21,.18); }
.mcp-credits li:first-child { border-top: 0; padding-top: 0; }
.mcp-credits .app { display: inline-block; min-width: 270px; font-weight: 700; color: var(--ink); margin-right: 8px; }
.mcp-credits a { color: var(--blue); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.mcp-credits a:hover { color: var(--cobalt); }
@media (max-width: 640px) { .mcp-credits .app { display: block; min-width: 0; } }

#mcps { scroll-margin-top: 120px; }

.mcp-note { transition: opacity .6s ease, transform .45s cubic-bezier(.34,1.56,.64,1), box-shadow .45s ease; transform-origin: center; }
.mcp-note:hover { transform: scale(1.02) rotate(-1deg); box-shadow: 0 18px 40px -18px rgba(0,60,85,.55); }
.mcp-hl { background-image: linear-gradient(var(--lime), var(--lime)); background-repeat: no-repeat; background-size: 0% 100%; background-position: 0 0; border-radius: 4px; padding: 1px 3px; margin: 0 -3px; -webkit-box-decoration-break: clone; box-decoration-break: clone; transition: background-size .7s cubic-bezier(.65,0,.35,1) .1s, color .3s ease .1s; }
.mcp-note:hover .mcp-hl { background-size: 100% 100%; color: var(--ink); }
@media (prefers-reduced-motion: reduce) {
  .mcp-note, .mcp-note:hover { transform: none; transition: none; }
  .mcp-hl { transition: none; }
}

.mcp-hl.is-split { background: none; padding: 0; margin: 0; color: inherit; transition: none; }
.mcp-note:hover .mcp-hl.is-split { background: none; color: inherit; }
.mcp-note p.has-layer { position: relative; }
.mcp-layer { position: absolute; inset: 0; margin: 0; max-width: none; color: transparent !important; pointer-events: none; user-select: none; opacity: 0; transition: opacity .167s linear; }
.mcp-layer .mcp-hl { color: transparent; }
.mcp-layer .w { color: transparent; padding: 1px 1.5px 1px 0; margin-right: -1.5px; background-image: linear-gradient(var(--ink), var(--ink)), linear-gradient(var(--lime), var(--lime)); background-repeat: no-repeat; background-position: 0 0; background-size: 0% 100%; -webkit-background-clip: text, border-box; background-clip: text, border-box; transition: background-size 0s linear .167s; }
.mcp-note:hover .mcp-layer { opacity: 1; transition: opacity 0s; }
.mcp-note:hover .mcp-layer .w { background-size: 100% 100%; transition: background-size var(--d) linear var(--dl); }
@media (prefers-reduced-motion: reduce) {
  .mcp-layer, .mcp-note:hover .mcp-layer, .mcp-layer .w, .mcp-note:hover .mcp-layer .w { transition: none; }
}

.marquee.js-marquee { animation: none !important; will-change: transform; user-select: none; -webkit-user-select: none; }
.clients:has(.js-marquee) { cursor: grab; touch-action: pan-y; }
.clients.is-dragging { cursor: grabbing; }
.marquee.js-marquee a { -webkit-user-drag: none; }
