/* Wayruro: editorial layout, Huayruro palette. Light is the default; dark follows the device or the header switch. */
:root {
  --wy-red: #d7262e;
  --wy-ink: #141212;
  --wy-paper: #faf6f0;
  --wy-bg: var(--wy-paper);
  --wy-fg: var(--wy-ink);
  --wy-mute: #6d655e;
  --wy-line: var(--wy-ink);
  --wy-accent: var(--wy-red);
  --wy-hl-bg: var(--wy-red);
  --wy-hl-fg: var(--wy-paper);
  --wy-btn-bg: var(--wy-ink);
  --wy-btn-fg: var(--wy-paper);
  --wy-band-bg: var(--wy-ink);
  --wy-band-fg: var(--wy-paper);
  --wy-band-accent: #ff4d55;
  --wy-field-bg: #ffffff;
  --wy-pad: clamp(20px, 4vw, 48px);
  --wy-display: "Archivo Black", "Arial Black", system-ui, sans-serif;
  --wy-serif: "Instrument Serif", Georgia, serif;
  --wy-sans: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light;
}
:root[data-scheme="dark"] {
  --wy-bg: var(--wy-ink);
  --wy-fg: var(--wy-paper);
  --wy-mute: #a59d95;
  --wy-line: var(--wy-paper);
  --wy-accent: #ff4d55;
  --wy-btn-bg: var(--wy-red);
  --wy-btn-fg: #ffffff;
  --wy-band-bg: var(--wy-paper);
  --wy-band-fg: var(--wy-ink);
  --wy-band-accent: var(--wy-red);
  --wy-field-bg: #1f1c1b;
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-scheme]) {
    --wy-bg: var(--wy-ink); --wy-fg: var(--wy-paper); --wy-mute: #a59d95; --wy-line: var(--wy-paper); --wy-accent: #ff4d55;
    --wy-btn-bg: var(--wy-red); --wy-btn-fg: #ffffff; --wy-band-bg: var(--wy-paper); --wy-band-fg: var(--wy-ink);
    --wy-band-accent: var(--wy-red); --wy-field-bg: #1f1c1b; color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--wy-bg); color: var(--wy-fg); font: 16px/1.6 var(--wy-sans); transition: background-color .25s ease, color .25s ease; }
a { color: inherit; }
img { max-width: 100%; height: auto; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wy-skip { position: absolute; left: -9999px; }
.wy-skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--wy-btn-bg); color: var(--wy-btn-fg); padding: 10px 14px; }
:focus-visible { outline: 3px solid var(--wy-accent); outline-offset: 3px; }

/* Header */
.wy-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px var(--wy-pad); border-bottom: 2px solid var(--wy-line); position: relative; }
.wy-logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font: 400 26px/1 var(--wy-display); text-transform: uppercase; letter-spacing: -.02em; }
.wy-seed { width: 26px; height: 26px; border-radius: 50%; flex: none; background: radial-gradient(circle at 70% 50%, var(--wy-ink) 0 33%, var(--wy-red) 34% 100%); box-shadow: inset -3px -3px 8px rgba(0,0,0,.25); }
:root[data-scheme="dark"] .wy-seed { box-shadow: inset -3px -3px 8px rgba(0,0,0,.25), 0 0 0 2px var(--wy-paper); }
@media (prefers-color-scheme: dark) { :root:not([data-scheme]) .wy-seed { box-shadow: inset -3px -3px 8px rgba(0,0,0,.25), 0 0 0 2px var(--wy-paper); } }
.wy-nav__list, .wy-footer__list { list-style: none; margin: 0; padding: 0; display: flex; gap: 28px; }
.wy-nav__list a, .wy-footer__list a { text-decoration: none; }
.wy-nav__list a:hover, .wy-footer__list a:hover { color: var(--wy-accent); }
.wy-header__actions { display: flex; align-items: center; gap: 12px; }
.wy-scheme { width: 42px; height: 42px; display: grid; place-items: center; border: 2px solid var(--wy-line); background: transparent; color: var(--wy-fg); cursor: pointer; padding: 0; }
.wy-scheme svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.wy-scheme__moon { fill: currentColor; stroke: none; }
.wy-scheme__sun { display: none; }
:root[data-scheme="dark"] .wy-scheme__sun { display: block; }
:root[data-scheme="dark"] .wy-scheme__moon { display: none; }
.wy-menu { display: none; width: 42px; height: 42px; border: 2px solid var(--wy-line); background: transparent; cursor: pointer; padding: 10px 9px; flex-direction: column; justify-content: space-between; }
.wy-menu span:not(.screen-reader-text) { display: block; height: 2px; background: var(--wy-fg); }

/* Buttons */
.wy-btn { display: inline-block; background: var(--wy-btn-bg); color: var(--wy-btn-fg); padding: 14px 22px; font-weight: 700; font-size: 14px; letter-spacing: .05em; text-transform: uppercase; text-decoration: none; border: 2px solid var(--wy-btn-bg); }
.wy-btn:hover { background: var(--wy-red); border-color: var(--wy-red); color: #fff; }
.wy-btn--small { padding: 10px 16px; }
.wy-btn--ghost { background: transparent; color: var(--wy-fg); border-color: var(--wy-line); }

/* Type */
.wy-section { padding: clamp(48px, 7vw, 80px) var(--wy-pad); }
.wy-display { font: 400 clamp(54px, 10.5vw, 168px)/.88 var(--wy-display); text-transform: uppercase; letter-spacing: -.03em; margin: 0; }
.wy-ser { font: italic 400 .62em/1 var(--wy-serif); text-transform: none; letter-spacing: 0; }
.wy-hl { background: linear-gradient(transparent 14%, var(--wy-hl-bg) 14%); color: var(--wy-hl-fg); padding: 0 .08em; }
.wy-h1 { font: 400 clamp(40px, 6vw, 84px)/.95 var(--wy-display); text-transform: uppercase; letter-spacing: -.02em; margin: 0 0 28px; }
.wy-h2 { font: 400 clamp(38px, 5vw, 64px)/.95 var(--wy-display); text-transform: uppercase; letter-spacing: -.02em; margin: 0 0 30px; }
.wy-label { display: inline-block; font-weight: 700; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--wy-accent); }
.wy-lede { font-size: 19px; color: var(--wy-mute); max-width: 560px; }
.wy-topics { margin: 0 0 32px; }
.wy-topics .wy-label { margin: 0 0 10px; }
.wy-mt { margin-top: 64px; }

/* Hero */
.wy-hero__foot { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; border-top: 2px solid var(--wy-line); margin-top: 40px; padding-top: 20px; font-size: 17px; align-items: center; }
.wy-hero__foot p { margin: 0; }

/* Clients */
.wy-clients { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; padding: 22px var(--wy-pad); border-top: 2px solid var(--wy-line); border-bottom: 2px solid var(--wy-line); }
.wy-clients__list { margin: 0; font: italic 400 22px/1.3 var(--wy-serif); }

/* Services */
.wy-svc { list-style: none; margin: 0; padding: 0; }
.wy-svc__row { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: 18px 0; border-bottom: 2px solid var(--wy-line); text-decoration: none; }
.wy-svc__name { font: 400 clamp(26px, 3.4vw, 36px)/1 var(--wy-display); text-transform: uppercase; transition: color .15s ease; }
.wy-svc__row:hover .wy-svc__name { color: var(--wy-accent); }
.wy-svc__line { max-width: 420px; text-align: right; color: var(--wy-mute); }

/* Band: work and process */
.wy-band { background: var(--wy-band-bg); color: var(--wy-band-fg); }
.wy-band .wy-h2 { color: var(--wy-band-accent); }
.wy-grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.wy-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; }
.wy-case { display: block; text-decoration: none; }
.wy-case__shot { display: block; aspect-ratio: 1200 / 630; background: var(--wy-band-bg); transition: transform .3s ease; }
.wy-case__shot img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.8,.2,1); }
.wy-case:hover .wy-case__shot img { transform: scale(1.05); }
.wy-case:hover .wy-case__shot { transform: translateY(-6px); box-shadow: 8px 8px 0 var(--wy-accent); }
.wy-case__name { display: block; font: italic 400 30px/1.1 var(--wy-serif); margin: 12px 0 2px; }
.wy-case__meta { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; opacity: .7; }
.wy-tone--ink { background: linear-gradient(135deg, var(--wy-ink) 0 55%, #e8e2d6 55%); }
.wy-tone--sun { background: linear-gradient(135deg, #ff9a5a, #ffcf5c 45%, #11a39b); }
.wy-tone--red { background: linear-gradient(135deg, #b5121b, #f2b33d); }
.wy-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.wy-steps h3 { font: 400 22px/1 var(--wy-display); text-transform: uppercase; margin: 8px 0 6px; }
.wy-steps p { margin: 0; opacity: .8; }
.wy-steps__num { font: italic 400 34px/1 var(--wy-serif); color: var(--wy-band-accent); }

/* Contact and forms (Contact Form 7) */
.wy-contact__form .wpcf7-form p { margin: 0 0 14px; }
.wy-contact__form label { display: block; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }
.wy-contact__form input:not([type="submit"]), .wy-contact__form select, .wy-contact__form textarea {
  width: 100%; margin-top: 6px; padding: 13px 14px; font: inherit; color: var(--wy-fg); background: var(--wy-field-bg); border: 2px solid var(--wy-line); border-radius: 0; }
.wy-contact__form textarea { min-height: 120px; }
.wy-contact__form input[type="submit"] { background: var(--wy-btn-bg); color: var(--wy-btn-fg); border: 2px solid var(--wy-btn-bg); padding: 14px 22px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; cursor: pointer; }
.wy-contact__form input[type="submit"]:hover { background: var(--wy-red); border-color: var(--wy-red); color: #fff; }
.wy-note { color: var(--wy-mute); }

/* Articles, lists */
.wy-article { max-width: 860px; }
.wy-prose { font-size: 18px; }
.wy-prose h2 { font: 400 32px/1 var(--wy-display); text-transform: uppercase; margin: 1.6em 0 .5em; }
.wy-prose h3 { font: italic 400 28px/1.1 var(--wy-serif); margin: 1.4em 0 .4em; }
.wy-prose a { color: var(--wy-accent); }
.wy-list { list-style: none; margin: 0; padding: 0; }
.wy-list a { display: flex; justify-content: space-between; gap: 20px; padding: 18px 0; border-bottom: 2px solid var(--wy-line); text-decoration: none; }
.wy-list__title { font: italic 400 26px/1.15 var(--wy-serif); }
.wy-list__meta { color: var(--wy-mute); white-space: nowrap; }

/* Footer */
.wy-footer { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding: 26px var(--wy-pad); border-top: 2px solid var(--wy-line); font-size: 14px; text-transform: uppercase; letter-spacing: .06em; }
.wy-footer__brand { display: inline-flex; align-items: center; gap: 10px; }
.wy-footer__brand .wy-seed { width: 18px; height: 18px; }

/* Journal article with sidebar. */
.wy-post { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 340px); gap: clamp(32px, 5vw, 72px); align-items: start; }
.wy-post .wy-article { max-width: none; }
.wy-sidebar { align-self: stretch; display: flex; flex-direction: column; gap: 20px; font-size: 15px; }
.wy-post .wy-h1 { font-size: clamp(36px, 4.6vw, 68px); line-height: .95; }
.wy-sidebar__box { border: 2px solid var(--wy-line); padding: 18px 20px; }
.wy-sidebar__box ul, .wy-sidebar__box ol { margin: 10px 0 0; padding-left: 18px; display: grid; gap: 8px; }
.wy-sidebar__box a { color: var(--wy-fg); text-decoration-color: var(--wy-accent); text-underline-offset: 3px; }
.wy-sidebar__box a:hover { color: var(--wy-accent); }
.wy-sidebar__cta { position: sticky; top: 100px; background: var(--wy-fg); color: var(--wy-bg); border-color: var(--wy-fg); }
.wy-sidebar__cta .wy-btn { background: var(--wy-accent); color: #fff; }
.wy-sidebar__title { font: 400 22px/1.05 var(--wy-display); text-transform: uppercase; margin: 0 0 8px; }
.wy-prose h2[id] { scroll-margin-top: 110px; }
@media (max-width: 1100px) { .wy-post { grid-template-columns: 1fr; } .wy-sidebar__cta { position: static; } .wy-toc { display: none; } }

/* Key takeaways box in Journal articles. */
.wy-takeaways { border: 2px solid var(--wy-line); border-left: 8px solid var(--wy-accent); padding: 4px 28px 12px; margin: 40px 0; }
.wy-takeaways h2 { margin-top: 20px; }

/* The H1 carries the keyword and city in a small kicker above the display line. */
.wy-hero__kicker { display: block; margin-bottom: 20px; font-family: var(--wy-sans); line-height: 1.4; letter-spacing: .12em; }

/* Small screens */
@media (max-width: 900px) {
  .wy-menu { display: flex; }
  .wy-header .wy-btn--small { display: none; }
  .wy-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; z-index: 20; background: var(--wy-bg); border-bottom: 2px solid var(--wy-line); padding: 12px var(--wy-pad) 20px; }
  .wy-nav.is-open { display: block; }
  .wy-nav__list { flex-direction: column; gap: 14px; font-size: 20px; }
  .wy-hero__foot, .wy-grid3, .wy-grid2, .wy-steps { grid-template-columns: 1fr; }
  .wy-svc__row { flex-direction: column; gap: 6px; }
  .wy-svc__line { text-align: left; }
  .wy-footer__list { flex-wrap: wrap; gap: 14px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ------------------------------------------------------------------------------------------------
   Pages v2: hero, breadcrumbs, service bands, cards, FAQ accordion.
   ------------------------------------------------------------------------------------------------ */
.wy-prose a.wy-btn, .wy-svpage a.wy-btn { color: var(--wy-btn-fg); text-decoration: none; }

.wy-phero { position: relative; overflow: hidden; border-bottom: 2px solid var(--wy-line); padding-bottom: clamp(36px, 5vw, 56px); }
.wy-crumbs ol { list-style: none; margin: 0 0 28px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }
.wy-crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--wy-mute); }
.wy-crumbs a { text-decoration: none; color: var(--wy-mute); }
.wy-crumbs a:hover { color: var(--wy-accent); }
.wy-crumbs [aria-current] { color: var(--wy-fg); }
.wy-phero .wy-label { margin: 0 0 14px; }
.wy-phero__title { position: relative; z-index: 1; font: 400 clamp(46px, 7.4vw, 124px)/.9 var(--wy-display); text-transform: uppercase; letter-spacing: -.03em; margin: 0; max-width: 14ch; }
.wy-phero__foot { position: relative; z-index: 1; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px 48px; margin-top: 40px; padding-top: 22px; border-top: 2px solid var(--wy-line); }
.wy-phero__lede { margin: 0; max-width: 620px; font: italic 400 clamp(22px, 2.2vw, 30px)/1.25 var(--wy-serif); }
.wy-phero__actions { margin: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.wy-phero__seed { position: absolute; right: clamp(-120px, -4vw, -40px); top: 40px; width: clamp(180px, 26vw, 420px); height: clamp(180px, 26vw, 420px); opacity: .95; }
.wy-phero__seed.wy-seed { box-shadow: inset -18px -18px 40px rgba(0,0,0,.28); }

/* Service bands: heading left (sticky), content right. */
.wy-svpage { font-size: 18px; }
.wy-sv { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 28px clamp(32px, 5vw, 80px); padding: clamp(56px, 7vw, 104px) var(--wy-pad); border-bottom: 2px solid var(--wy-line); }
.wy-sv > h2 { position: sticky; top: 110px; align-self: start; margin: 0; font: 400 clamp(30px, 3.4vw, 52px)/.95 var(--wy-display); text-transform: uppercase; letter-spacing: -.02em; }
.wy-sv__body { grid-column: 2; max-width: 1180px; }
.wy-sv__body > p { max-width: 72ch; }
.wy-sv__body > p:first-child { margin-top: 0; }
.wy-sv a:not(.wy-btn):not(.wy-case) { color: var(--wy-accent); text-underline-offset: 3px; }
.wy-sv--intro .wy-sv__body { grid-column: 1 / -1; max-width: none; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 0 clamp(32px, 5vw, 80px); }
.wy-sv--intro .wy-sv__body p:first-child { grid-row: span 3; margin: 0; font: 400 clamp(24px, 2.4vw, 34px)/1.3 var(--wy-sans); letter-spacing: -.01em; }
.wy-sv--intro .wy-sv__body p:not(:first-child) { margin: 0 0 16px; color: var(--wy-mute); }

.wy-tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; counter-reset: wy-tile; }
.wy-tiles li { counter-increment: wy-tile; display: flex; gap: 18px; align-items: baseline; padding: 20px 0; border-top: 2px solid var(--wy-line); font-size: 18px; line-height: 1.4; }
.wy-tiles li::before { content: counter(wy-tile, decimal-leading-zero); font: italic 400 26px/1 var(--wy-serif); color: var(--wy-accent); min-width: 2ch; }

.wy-sv--band { background: var(--wy-band-bg); color: var(--wy-band-fg); border-bottom: 0; }
.wy-sv--band > h2 { position: static; color: var(--wy-band-accent); }
.wy-flow { grid-column: 1 / -1; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; counter-reset: wy-step; }
.wy-flow li { counter-increment: wy-step; position: relative; padding-top: 64px; font-size: 16px; line-height: 1.5; opacity: .9; }
.wy-flow li::before { content: counter(wy-step, lower-roman) "."; position: absolute; top: 0; left: 0; font: italic 400 40px/1 var(--wy-serif); color: var(--wy-band-accent); }
.wy-flow li::after { content: ""; position: absolute; top: 50px; left: 0; right: 0; height: 2px; background: currentColor; opacity: .35; transform-origin: left; }
.wy-flow strong { display: block; margin-bottom: 6px; font: 400 22px/1 var(--wy-display); text-transform: uppercase; opacity: 1; }

.wy-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-bottom: 24px; counter-reset: wy-card; }
.wy-card { counter-increment: wy-card; position: relative; padding: 56px 24px 24px; border: 2px solid var(--wy-line); background: var(--wy-bg); transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s cubic-bezier(.2,.8,.2,1); }
.wy-card::before { content: counter(wy-card, decimal-leading-zero); position: absolute; top: 18px; left: 24px; font: 400 18px/1 var(--wy-display); color: var(--wy-accent); }
.wy-card p { margin: 0; font-size: 16px; line-height: 1.55; }
.wy-card:hover { transform: translate(-4px, -4px); box-shadow: 8px 8px 0 var(--wy-accent); }

.wy-cases { margin-top: 28px; }
.wy-case__shot { overflow: hidden; position: relative; }
.wy-case__shot::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%); transform: translateX(-120%); transition: transform .7s ease; }
.wy-case:hover .wy-case__shot::after { transform: translateX(120%); }
.wy-case:hover .wy-case__name { color: var(--wy-accent); }
.wy-case__name { transition: color .2s ease; }

.wy-faq details { border-top: 2px solid var(--wy-line); }
.wy-faq details:last-child { border-bottom: 2px solid var(--wy-line); }
.wy-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 0; }
.wy-faq summary::-webkit-details-marker { display: none; }
.wy-faq summary h3 { margin: 0; font: italic 400 clamp(22px, 2vw, 28px)/1.2 var(--wy-serif); transition: color .2s ease; }
.wy-faq summary:hover h3 { color: var(--wy-accent); }
.wy-faq summary::after { content: ""; flex: none; width: 22px; height: 22px; background: linear-gradient(currentColor 0 0) center / 100% 2px no-repeat, linear-gradient(currentColor 0 0) center / 2px 100% no-repeat; transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.wy-faq details[open] summary::after { transform: rotate(135deg); color: var(--wy-accent); }
.wy-faq details p { margin: 0 0 24px; max-width: 70ch; color: var(--wy-mute); }
.wy-faq details[open] p { animation: wy-drop .45s cubic-bezier(.2,.8,.2,1); }

.wy-links { list-style: none; margin: 0; padding: 0; }
.wy-links li { border-bottom: 2px solid var(--wy-line); padding: 18px 44px 18px 0; position: relative; color: var(--wy-mute); }
.wy-links li:first-child { border-top: 2px solid var(--wy-line); }
.wy-links li::after { content: "\2192"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-size: 24px; color: var(--wy-fg); transition: transform .3s ease, color .3s ease; }
.wy-links li:hover::after { transform: translate(8px, -50%); color: var(--wy-accent); }
.wy-links a { font: 400 22px/1 var(--wy-display); text-transform: uppercase; text-decoration: none; color: var(--wy-fg) !important; }

.wy-plain .wy-article { max-width: 760px; margin: 0 auto; }

/* ------------------------------------------------------------------------------------------------
   Motion. Everything here is off for visitors whose device asks for reduced motion.
   ------------------------------------------------------------------------------------------------ */
@keyframes wy-drop { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@keyframes wy-rise { from { transform: translateY(105%); } to { transform: none; } }
@keyframes wy-float { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-14px) rotate(8deg); } }
@keyframes wy-spin-in { from { opacity: 0; transform: scale(.6) rotate(-90deg); } to { opacity: .95; transform: none; } }
@keyframes wy-marquee { to { transform: translateX(-50%); } }

@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  ::view-transition-old(root), ::view-transition-new(root) { animation-duration: .35s; }

  .wy-js .wy-rv { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.2,.8,.2,1), transform .8s cubic-bezier(.2,.8,.2,1); transition-delay: var(--wy-d, 0s); }
  .wy-js .wy-rv.is-in { opacity: 1; transform: none; }
  .wy-js .wy-flow li::after { transform: scaleX(0); transition: transform 1s cubic-bezier(.2,.8,.2,1) calc(var(--wy-d, 0s) + .2s); }
  .wy-js .wy-flow li.is-in::after { transform: scaleX(1); }

  .wy-w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .06em; margin-bottom: -.06em; }
  .wy-w > span { display: inline-block; animation: wy-rise .9s cubic-bezier(.2,.8,.2,1) both; animation-delay: var(--wy-d, 0s); }

  .wy-phero__seed { animation: wy-spin-in 1.2s cubic-bezier(.2,.8,.2,1) both, wy-float 9s ease-in-out 1.2s infinite; }
  .wy-header .wy-seed { transition: transform .6s cubic-bezier(.2,.8,.2,1); }
  .wy-logo:hover .wy-seed { transform: rotate(200deg); }

  .wy-btn { position: relative; overflow: hidden; isolation: isolate; transition: color .3s ease, border-color .3s ease; }
  .wy-btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--wy-red); transform: scaleX(0); transform-origin: right; transition: transform .45s cubic-bezier(.2,.8,.2,1); }
  .wy-btn:hover { background: var(--wy-btn-bg); }
  .wy-btn--ghost:hover { background: transparent; }
  .wy-btn:hover::before { transform: scaleX(1); transform-origin: left; }

  .wy-svc__row { transition: padding .35s cubic-bezier(.2,.8,.2,1); }
  .wy-svc__row:hover { padding-left: 18px; }
  .wy-nav__list a { background: linear-gradient(currentColor 0 0) left bottom / 0 2px no-repeat; transition: background-size .3s ease, color .2s ease; padding-bottom: 3px; }
  .wy-nav__list a:hover { background-size: 100% 2px; }

  .wy-header { transition: padding .3s ease, box-shadow .3s ease; }
  .wy-header.is-scrolled { padding-top: 12px; padding-bottom: 12px; }
  .wy-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; background: var(--wy-accent); transform: scaleX(var(--wy-p, 0)); transform-origin: left; z-index: 60; pointer-events: none; }

  .wy-clients.is-marquee { overflow: hidden; flex-wrap: nowrap; }
  .wy-clients.is-marquee .wy-clients__list { white-space: nowrap; animation: wy-marquee 40s linear infinite; }
  .wy-clients.is-marquee:hover .wy-clients__list { animation-play-state: paused; }
}

.wy-header { position: sticky; top: 0; z-index: 50; background: var(--wy-bg); }

/* Small screens for pages v2 */
@media (max-width: 900px) {
  .wy-sv { grid-template-columns: 1fr; }
  .wy-sv > h2 { position: static; }
  .wy-sv__body, .wy-flow { grid-column: 1; }
  .wy-sv--intro .wy-sv__body { grid-template-columns: 1fr; }
  .wy-tiles, .wy-cards, .wy-flow { grid-template-columns: 1fr; }
  .wy-phero__seed { opacity: .25; }
}

/* Case study screenshot, client marquee label, home studio section. */
.wy-shot { margin: 0 0 40px; border: 2px solid var(--wy-line); box-shadow: 10px 10px 0 var(--wy-accent); }
.wy-shot img { display: block; width: 100%; height: auto; }
.wy-clients .wy-label { position: relative; z-index: 2; flex: none; white-space: nowrap; background: var(--wy-bg); padding-right: 18px; box-shadow: 18px 0 18px var(--wy-bg); }
#studio .wy-prose { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 0 clamp(32px, 5vw, 80px); max-width: none; }
#studio .wy-prose > h2 { grid-column: 1; margin-top: 0; font-size: clamp(28px, 3vw, 44px); line-height: .95; }
#studio .wy-prose > :not(h2) { grid-column: 2; max-width: 72ch; margin-top: 0; }
#studio .wy-prose > h2:not(:first-child), #studio .wy-prose > h2:not(:first-child) + p { margin-top: 56px; }
#studio.wy-article { max-width: none; }
@media (max-width: 900px) { #studio .wy-prose { grid-template-columns: 1fr; } #studio .wy-prose > * { grid-column: 1; } }
.wy-post .wy-article { max-width: 1120px; }
.wy-post .wy-prose > :not(.wy-takeaways):not(figure) { max-width: 760px; }

/* Builder credit (printed after the footer by the network mu-plugin): a quiet line under the footer, set like the
   footer's small caps but smaller and muted. Visible and followed, never hidden. */
.rj-credit { margin: 0; padding: 0 var(--wy-pad) 20px; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--wy-mute); }
.rj-credit a { color: inherit; text-decoration: none; }
.rj-credit a:hover, .rj-credit a:focus-visible { color: var(--wy-accent); }
