/* ==========================================================================
   Esnuff Creative — design tokens
   ========================================================================== */
:root {
  --ink: #0b0b0b;
  --ink-soft: #55565c;
  --paper: #ffffff;
  --mist: #e4e6ec;

  --lime: #e4ff54;
  --pink: #ff3d7f;
  --lilac: #dcaaf9;
  --sky: #aac4ff;
  --blue: #6a8cff;
  --mint: #9ff0cf;

  --radius: 18px;
  --gutter: clamp(16px, 2vw, 24px);
  --ease: cubic-bezier(.22, 1, .36, 1);

  --font: "Inter", 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: 16px;
  line-height: 1.5;
  letter-spacing: -0.02em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.menu-open, body.loading { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; padding: 0; }
h1, h2, h3, p, dl, dd, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

.label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

/* Logo images are black-on-white: multiply lets any background show through */
.header-logo img, .hero-mark img, .footer-mark { mix-blend-mode: multiply; }

/* ==========================================================================
   Loader
   ========================================================================== */
.loader {
  position: fixed; inset: 0; z-index: 100;
  background: var(--pink);
  color: var(--lime);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: var(--gutter);
  transition: transform .9s var(--ease);
}
.loader.done { transform: translateY(-100%); }
.loader.gone { display: none; }
.loader-shapes { display: flex; justify-content: flex-end; gap: 4vw; padding-top: 6vh; }
.loader-shapes span {
  width: 9vw; height: 18vw; max-height: 220px; max-width: 110px;
  background: var(--lime);
  border-radius: 0 999px 999px 0;
  transform: scaleX(0); transform-origin: left;
  animation: grow 1s var(--ease) forwards;
}
.loader-shapes span:nth-child(2) { animation-delay: .1s; }
.loader-shapes span:nth-child(3) { animation-delay: .2s; }
.loader-shapes span:nth-child(4) { animation-delay: .3s; }
@keyframes grow { to { transform: scaleX(1); } }
.loader-count { font-size: clamp(72px, 14vw, 200px); font-weight: 900; letter-spacing: -.05em; line-height: .9; }

/* ==========================================================================
   Header + pills
   ========================================================================== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: var(--gutter);
  pointer-events: none;
}
.site-header > * { pointer-events: auto; }
.site-header .pill-menu { justify-self: end; }
.site-header .pill-blue { justify-self: start; }

.header-logo {
  width: 128px;
  opacity: 0; transform: translateY(-10px);
  transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.site-header.scrolled .header-logo { opacity: 1; transform: none; }

.pill {
  display: inline-flex; align-items: center; gap: 14px;
  height: 52px; padding: 0 28px;
  border-radius: 999px;
  font-size: 13px; font-weight: 600; letter-spacing: .02em; text-transform: uppercase;
  transition: background .3s var(--ease), transform .3s var(--ease);
}
.pill:hover { transform: scale(1.04); }
.pill-blue { background: var(--blue); color: var(--ink); }
.pill-blue:hover { background: var(--lime); }
.pill-menu, .pill-close { background: var(--mist); padding: 0 6px 0 28px; }
.pill-menu:hover { background: var(--lilac); }
.pill-dot {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--paper);
  display: grid; place-content: center; gap: 3px;
}
.pill-dot i { display: block; width: 14px; height: 2px; background: var(--ink); border-radius: 2px; }
.pill-x { position: relative; }
.pill-x i { position: absolute; left: 13px; top: 19px; }
.pill-x i:first-child { transform: rotate(45deg); }
.pill-x i:last-child { transform: rotate(-45deg); }

/* ==========================================================================
   Menu
   ========================================================================== */
.menu {
  position: fixed; inset: 0; z-index: 60;
  background: var(--lime);
  display: flex; flex-direction: column;
  padding: var(--gutter);
  clip-path: circle(0 at calc(100% - 50px) 46px);
  visibility: hidden;
  transition: clip-path .7s var(--ease), visibility 0s .7s;
}
.menu.open {
  clip-path: circle(150% at calc(100% - 50px) 46px);
  visibility: visible;
  transition: clip-path .7s var(--ease), visibility 0s;
}
.menu-top { display: flex; justify-content: space-between; align-items: center; }
.pill-close { background: var(--paper); }
.menu-links {
  flex: 1; display: flex; flex-direction: column; justify-content: center;
  padding: 0 4vw;
}
.menu-links a {
  font-size: clamp(56px, 11vw, 160px);
  font-weight: 900; line-height: .95; letter-spacing: -.055em;
  width: fit-content;
  transition: color .25s, transform .4s var(--ease);
}
.menu-links a:hover { color: var(--pink); transform: translateX(16px); }
.menu-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-weight: 600; }

.lang-switch { display: inline-flex; gap: 6px; }
.lang-switch button {
  height: 40px; min-width: 48px; padding: 0 12px;
  border-radius: 999px;
  border: 1.5px solid var(--ink);
  font-size: 13px; font-weight: 700;
  transition: background .2s, color .2s;
}
.lang-switch button:hover { background: rgba(0,0,0,.08); }
.lang-switch button.active { background: var(--ink); color: var(--paper); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { padding: 110px var(--gutter) var(--gutter); }
.hero-mark { margin: 0 auto; max-width: 1400px; }
.hero-mark img { width: 100%; transform-origin: top center; will-change: transform; }
.hero-tagline {
  text-align: center;
  font-size: clamp(18px, 1.8vw, 24px); font-weight: 600;
  margin: 3vh 0 6vh;
}

.reel {
  position: relative;
  height: min(82vh, 760px); min-height: 380px;
  border-radius: var(--radius);
  background: var(--lilac);
  display: grid; place-items: center;
  overflow: hidden;
  transition: background-color .6s var(--ease);
}
.reel[data-color="1"] { background: var(--sky); }
.reel[data-color="2"] { background: var(--lime); }
.reel[data-color="3"] { background: var(--pink); }
.reel[data-color="4"] { background: var(--mint); }
.reel-text {
  padding: 0 6vw;
  font-size: clamp(44px, 8.5vw, 140px);
  font-weight: 900; line-height: 1; letter-spacing: -.05em;
  text-align: center;
}
.reel-caret {
  display: inline-block; width: .09em; height: .9em;
  background: var(--ink); margin-left: .06em; vertical-align: -.08em;
  animation: blink 1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }
.reel-toggle {
  position: absolute; right: 22px; bottom: 22px;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--paper);
  display: grid; place-items: center;
  transition: transform .3s var(--ease);
}
.reel-toggle:hover { transform: scale(1.1); }
.i-pause { display: flex; gap: 3px; }
.i-pause i { width: 3px; height: 12px; background: var(--ink); border-radius: 1px; }
.i-play { display: none; width: 0; height: 0; border-left: 11px solid var(--ink); border-top: 7px solid transparent; border-bottom: 7px solid transparent; margin-left: 3px; }
.reel.paused .i-pause { display: none; }
.reel.paused .i-play { display: block; }

/* ==========================================================================
   Panels / statement
   ========================================================================== */
.panel { border-radius: var(--radius); padding: clamp(28px, 6vw, 96px); }
.panel-sky { background: var(--sky); }
.panel-pink { background: var(--pink); }

.statement { padding: 0 var(--gutter) var(--gutter); }
.statement-title {
  font-size: clamp(36px, 6.4vw, 104px);
  font-weight: 900; line-height: 1; letter-spacing: -.05em;
  max-width: 15ch;
}
.statement-title .hl {
  background: var(--lime);
  border-radius: .12em;
  padding: 0 .12em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.statement-desc { max-width: 52ch; font-size: clamp(17px, 1.5vw, 21px); font-weight: 500; margin-top: 32px; }

.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  margin-top: clamp(48px, 8vw, 120px);
  border-top: 1.5px solid var(--ink);
  padding-top: 24px;
}
.stats dt { font-size: clamp(44px, 5vw, 80px); font-weight: 900; letter-spacing: -.05em; line-height: 1; }
.stats dd { font-size: 14px; font-weight: 600; margin-top: 8px; max-width: 18ch; }

/* ==========================================================================
   Marquee
   ========================================================================== */
.marquee-block {
  position: relative;
  margin: 0 var(--gutter);
  border-radius: var(--radius);
  background: var(--lime);
  min-height: min(80vh, 720px);
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 6vh;
  overflow: hidden;
}
.marquee { width: 100%; overflow: hidden; }
.marquee-track {
  display: flex; width: max-content; align-items: center;
  animation: marquee 22s linear infinite;
}
.marquee-track span, .marquee-track b {
  font-size: clamp(72px, 12vw, 200px);
  font-weight: 900; letter-spacing: -.05em; line-height: 1.05;
  color: var(--pink);
  text-transform: uppercase;
  white-space: nowrap;
  padding: 0 .25em;
}
.marquee-track b { font-weight: 400; }
@keyframes marquee { to { transform: translateX(-50%); } }

.circle-btn {
  width: 140px; height: 140px; border-radius: 50%;
  border: 1.5px solid var(--pink);
  color: var(--pink);
  display: grid; place-items: center; text-align: center;
  padding: 16px;
  font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  transition: background .3s var(--ease), color .3s var(--ease), transform .4s var(--ease);
}
.circle-btn:hover { background: var(--pink); color: var(--lime); transform: rotate(-8deg) scale(1.05); }

/* ==========================================================================
   Section heads
   ========================================================================== */
.section-head { text-align: center; max-width: 900px; margin: 0 auto clamp(40px, 6vw, 80px); padding: 0 var(--gutter); }
.section-title { font-size: clamp(44px, 7vw, 112px); font-weight: 900; line-height: .95; letter-spacing: -.055em; }
.section-sub { font-size: clamp(17px, 1.4vw, 20px); color: var(--ink-soft); font-weight: 500; margin-top: 20px; }

/* ==========================================================================
   Work
   ========================================================================== */
.work { padding: clamp(96px, 12vw, 180px) var(--gutter) 0; }
.work-grid {
  display: grid; grid-template-columns: repeat(12, 1fr);
  gap: clamp(40px, 6vw, 96px) var(--gutter);
  align-items: start;
}
.work-card.full { grid-column: span 12; }
.work-card.wide { grid-column: span 7; }
.work-card.narrow { grid-column: span 5; }
/* stagger: narrow cards marked .drop sit lower than their row partner */
.work-card.drop { margin-top: 16vh; }

.work-media {
  position: relative; display: block;
  aspect-ratio: 16 / 11;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg, #000);
  isolation: isolate;
}
.narrow .work-media { aspect-ratio: 4 / 3; }
.full .work-media { aspect-ratio: 21 / 8; }
.media-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; transition: transform .9s var(--ease); }
.work-card:hover .media-photo img { transform: scale(1.05); }

/* Logo centred on a brand tint */
.media-logo { display: grid; place-items: center; }
.media-logo img { width: 72%; mix-blend-mode: multiply; transition: transform .9s var(--ease); }
.work-card:hover .media-logo img { transform: scale(1.06); }

/* Wide feature: logo + pitch line */
.media-split { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 0 6%; }
.split-logo { width: min(46%, 520px); margin-left: -2%; mix-blend-mode: multiply; transition: transform .9s var(--ease); }
.split-copy {
  font-size: clamp(22px, 3vw, 48px); font-weight: 800; letter-spacing: -.045em; line-height: 1.05;
  color: #0f2a4a; max-width: 16ch; margin-top: 4px;
}
.media-split::after {
  content: ""; position: absolute; z-index: -1;
  right: -6%; top: -30%; width: 46%; aspect-ratio: 1; border-radius: 50%;
  background: var(--accent, #23d17a); opacity: .18;
  transition: transform 1.1s var(--ease);
}
.work-card:hover .media-split::after { transform: translate(-6%, 10%) scale(1.08); }
.work-card:hover .split-logo { transform: translateX(8px); }

/* App icon + two phone screens */
.media-phones .app-icon {
  position: absolute; left: 7%; bottom: 8%; z-index: 2;
  width: 22%; border-radius: 22%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .3);
}
.phone {
  position: absolute; z-index: 1;
  width: 30%; aspect-ratio: 600 / 1299; object-fit: cover;
  border-radius: 14px;
  border: 4px solid #1b1b1d;
  box-shadow: 0 24px 50px rgba(0, 0, 0, .35);
  transition: transform .9s var(--ease);
}
.phone.p1 { right: 30%; top: 12%; transform: rotate(-6deg); }
.phone.p2 { right: 4%; top: 22%; transform: rotate(5deg); }
.work-card:hover .phone.p1 { transform: rotate(-9deg) translateY(-10px); }
.work-card:hover .phone.p2 { transform: rotate(8deg) translateY(-16px); }

.status {
  position: absolute; left: 16px; top: 16px; z-index: 3;
  background: var(--paper); color: var(--ink);
  font-size: 12px; font-weight: 700;
  padding: 7px 12px; border-radius: 999px;
}
.arrow {
  position: absolute; right: 16px; top: 16px; z-index: 3;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--paper);
  display: grid; place-items: center; font-weight: 700;
  transition: transform .4s var(--ease);
}
.work-card:hover .arrow { transform: rotate(-45deg); }

.work-card h3 { font-size: 16px; font-weight: 700; margin-top: 16px; }
.work-card p { font-size: 15px; color: var(--ink-soft); }

.wide-btn {
  display: flex; justify-content: center; align-items: center; gap: 10px;
  margin-top: clamp(56px, 8vw, 120px);
  height: 72px; border-radius: 999px;
  border: 1.5px solid var(--ink);
  font-size: 14px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  transition: background .3s var(--ease), color .3s var(--ease);
}
.wide-btn:hover { background: var(--ink); color: var(--paper); }

/* ==========================================================================
   Services accordion
   ========================================================================== */
.services { padding: clamp(96px, 12vw, 180px) var(--gutter) 0; }
.svc-list { border-top: 1.5px solid var(--ink); }
.svc { border-bottom: 1.5px solid var(--ink); position: relative; isolation: isolate; }
.svc::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--hover, var(--lime));
  transform: scaleY(0); transform-origin: bottom;
  transition: transform .45s var(--ease);
}
.svc:nth-child(4n+1) { --hover: var(--lime); }
.svc:nth-child(4n+2) { --hover: var(--lilac); }
.svc:nth-child(4n+3) { --hover: var(--sky); }
.svc:nth-child(4n+4) { --hover: var(--mint); }
.svc:hover::before, .svc.open::before { transform: scaleY(1); }

.svc-head {
  width: 100%;
  display: grid; grid-template-columns: 64px 1fr 48px; align-items: center; gap: 16px;
  padding: clamp(18px, 2.4vw, 30px) clamp(8px, 1.5vw, 24px);
  text-align: left;
}
.svc-num { font-size: 13px; font-weight: 700; }
.svc-title {
  font-size: clamp(26px, 4.2vw, 64px);
  font-weight: 800; line-height: 1; letter-spacing: -.05em;
  transition: transform .45s var(--ease);
}
.svc:hover .svc-title { transform: translateX(12px); }
.svc-plus {
  justify-self: end; position: relative;
  width: 44px; height: 44px; border-radius: 50%;
  border: 1.5px solid var(--ink);
  transition: transform .45s var(--ease), background .3s;
}
.svc-plus::before, .svc-plus::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 14px; height: 2px; background: var(--ink);
  transform: translate(-50%, -50%);
}
.svc-plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.svc.open .svc-plus { transform: rotate(45deg); background: var(--paper); }

.svc-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.svc.open .svc-body { grid-template-rows: 1fr; }
.svc-body > div { overflow: hidden; padding-left: calc(64px + 16px + clamp(8px, 1.5vw, 24px)); }
.svc-body p { font-size: clamp(17px, 1.5vw, 21px); font-weight: 500; max-width: 50ch; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 clamp(20px, 2.4vw, 32px); }
.tags li { font-size: 13px; font-weight: 600; padding: 6px 14px; border-radius: 999px; background: var(--paper); }

/* ==========================================================================
   Stack strip
   ========================================================================== */
.stack { padding: clamp(80px, 10vw, 140px) var(--gutter); text-align: center; }
.stack-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 980px; margin: 0 auto; }
.stack-row span {
  font-size: clamp(16px, 1.6vw, 22px); font-weight: 700;
  padding: 10px 22px; border-radius: 999px; border: 1.5px solid var(--ink);
  transition: background .25s, transform .3s var(--ease);
}
.stack-row span:nth-child(4n+1):hover { background: var(--lime); }
.stack-row span:nth-child(4n+2):hover { background: var(--lilac); }
.stack-row span:nth-child(4n+3):hover { background: var(--sky); }
.stack-row span:nth-child(4n+4):hover { background: var(--mint); }
.stack-row span:hover { transform: translateY(-3px) rotate(-2deg); }

/* ==========================================================================
   Partners
   ========================================================================== */
.partners { padding: 0 var(--gutter) var(--gutter); }
.panel-ink { background: var(--ink); color: var(--paper); }
.partners-title {
  font-size: clamp(36px, 5.6vw, 88px);
  font-weight: 900; line-height: 1; letter-spacing: -.05em;
  max-width: 14ch;
}
.partner-grid {
  display: grid; grid-template-columns: repeat(5, 1fr);
  margin-top: clamp(48px, 7vw, 104px);
  border-top: 1px solid #2a2a2e;
}
.partner-grid li {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  min-height: clamp(120px, 14vw, 200px);
  color: #8a8b92;
  border-right: 1px solid #2a2a2e;
  transition: color .35s var(--ease), background .35s var(--ease);
}
.partner-grid li:last-child { border-right: 0; }
.partner-grid li:hover { color: var(--paper); background: #151517; }
.partner-icon {
  width: clamp(26px, 2.4vw, 36px); aspect-ratio: 1; flex-shrink: 0;
  background: currentColor;
  -webkit-mask: var(--logo) center / contain no-repeat;
  mask: var(--logo) center / contain no-repeat;
}
.partner-name { font-size: clamp(20px, 2vw, 30px); font-weight: 700; letter-spacing: -.04em; }
.partner-ikas { font-size: clamp(30px, 3vw, 44px); font-weight: 800; letter-spacing: -.06em; }
.partner-paytr { font-size: clamp(26px, 2.6vw, 38px); font-weight: 900; letter-spacing: -.03em; }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact { padding: 0 var(--gutter) var(--gutter); }
.contact-panel {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px);
}
.contact-title {
  font-size: clamp(48px, 7.5vw, 124px);
  font-weight: 900; line-height: .92; letter-spacing: -.055em;
}
.contact-desc { font-size: clamp(17px, 1.5vw, 21px); font-weight: 500; margin-top: 24px; max-width: 34ch; }
.contact-direct { display: flex; flex-direction: column; gap: 6px; margin-top: 40px; font-size: clamp(18px, 1.6vw, 24px); font-weight: 700; }
.contact-direct a { width: fit-content; background: linear-gradient(var(--ink), var(--ink)) 0 100% / 0 2px no-repeat; transition: background-size .4s var(--ease); }
.contact-direct a:hover { background-size: 100% 2px; }

.contact-form { display: flex; flex-direction: column; gap: 14px; }
.topics { border: 0; padding: 0; margin: 0 0 10px; display: flex; flex-wrap: wrap; gap: 8px; }
.topics legend { font-weight: 700; margin-bottom: 12px; padding: 0; }
.topics label { position: relative; }
.topics input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.topics span {
  display: inline-block;
  padding: 10px 18px; border-radius: 999px;
  border: 1.5px solid var(--ink);
  font-size: 14px; font-weight: 600;
  transition: background .2s, color .2s;
}
.topics input:checked + span { background: var(--ink); color: var(--pink); }
.topics input:focus-visible + span { outline: 3px solid var(--paper); outline-offset: 2px; }

.field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 700; }
.field input, .field textarea {
  width: 100%;
  font: inherit; font-size: 17px; font-weight: 500; letter-spacing: -.01em;
  color: var(--ink);
  background: var(--paper);
  border: 1.5px solid transparent;
  border-radius: 16px;
  padding: 16px 18px;
  resize: vertical;
  transition: border-color .2s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); }
.field.invalid input, .field.invalid textarea { border-color: var(--ink); background: #fff3c4; }

.submit-btn {
  margin-top: 8px;
  height: 64px; border-radius: 999px;
  background: var(--ink); color: var(--paper);
  font-size: 15px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  transition: background .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
}
.submit-btn:hover { background: var(--lime); color: var(--ink); transform: scale(1.02); }
.form-terms { font-size: 12px; opacity: .8; }
.form-status { font-weight: 700; min-height: 1.5em; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.submit-btn[disabled] { opacity: .6; cursor: progress; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { padding: clamp(64px, 8vw, 120px) var(--gutter) var(--gutter); }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr) auto; gap: 32px; font-weight: 600; }
.footer-cols p:not(.label) { line-height: 1.7; }
.footer-cols a:hover { color: var(--blue); }
.footer-top .circle-btn { border-color: var(--ink); color: var(--ink); }
.footer-top .circle-btn:hover { background: var(--lime); }
.circle-sm { width: 110px; height: 110px; }
.footer-mark { width: 100%; margin: clamp(56px, 8vw, 120px) 0 32px; }
.footer-legal { display: flex; justify-content: space-between; gap: 32px; font-size: 12px; color: var(--ink-soft); }
.footer-legal p:first-child { max-width: 80ch; }
.footer-legal p:last-child { flex-shrink: 0; text-align: right; }

/* ==========================================================================
   Reveal
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 900px) {
  .stats { grid-template-columns: repeat(2, 1fr); row-gap: 32px; }
  .work-card.wide, .work-card.narrow { grid-column: span 12; }
  .work-card.drop { margin-top: 0; }
  .full .work-media { aspect-ratio: 4 / 3; }
  .split-logo { width: 80%; }
  .contact-panel { grid-template-columns: 1fr; }
  .partner-grid { grid-template-columns: repeat(2, 1fr); }
  .partner-grid li { border-bottom: 1px solid #2a2a2e; }
  .partner-grid li:nth-child(2n) { border-right: 0; }
  .partner-grid li:last-child { grid-column: span 2; border-bottom: 0; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .footer-legal { flex-direction: column; gap: 8px; }
}
@media (max-width: 600px) {
  .pill { height: 44px; padding: 0 18px; font-size: 12px; }
  .pill-menu, .pill-close { padding: 0 4px 0 18px; }
  .pill-dot { width: 36px; height: 36px; }
  .pill-x i { left: 11px; top: 17px; }
  .header-logo { width: 84px; }
  .hero { padding-top: 92px; }
  .reel { height: 62vh; min-height: 340px; }
  .svc-head { grid-template-columns: 32px 1fr 40px; gap: 10px; padding-left: 4px; padding-right: 4px; }
  .svc-plus { width: 36px; height: 36px; }
  .svc-body > div { padding-left: 46px; }
  .circle-btn { width: 116px; height: 116px; }
  .menu-links { padding: 0; }
  .footer-cols { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .marquee-track { animation: none; }
  .reveal { opacity: 1; transform: none; }
}

/* Partner icon masks (simple-icons, CC0) */
.logo-hostinger { --logo: url(../img/partners/hostinger.svg); }
.logo-squarespace { --logo: url(../img/partners/squarespace.svg); }
.logo-shopify { --logo: url(../img/partners/shopify.svg); }

/* Phones sit a bit narrower on the wide cards */
.wide .phone { width: 24%; }
.wide .phone.p1 { right: 28%; }
.wide .media-phones .app-icon { width: 17%; }

/* Split layout on the narrower wide cards */
.wide .split-logo { width: 62%; }
.wide .split-copy { font-size: clamp(20px, 2.2vw, 34px); margin-top: 14px; }
