@import url('https://fonts.googleapis.com/css2?family=Anton&family=Inter:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&display=swap');

/* CQ · Superficies navy, texto blanco y acentos lima. */
:root {
  color-scheme: dark;
  --bg: var(--cq-midnight);
  --surface: var(--cq-navy);
  --ink: var(--cq-white);
  --muted: var(--cq-steel);
  --lime: var(--cq-lime);
  --line: color-mix(in srgb, var(--muted) 42%, transparent);
  --youtube-cutout: var(--bg);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --radius: 24px;
  --gutter: clamp(24px, 5.5vw, 104px);
  font-family: Inter, Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 108px; }
body { margin: 0; font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
body:has(dialog[open]) { overflow: hidden; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button { color: inherit; cursor: pointer; }
button:disabled { cursor: not-allowed; border-style: dashed; }
a { color: inherit; text-decoration: none; }
a, button, input { outline-offset: 5px; }
:focus-visible { outline: 2px solid var(--lime); }
img { display: block; max-width: 100%; }
svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 600; }
::selection { background: var(--cq-action-surface); color: var(--ink); }
[hidden] { display: none !important; }
.wrap { width: min(1760px, calc(100% - var(--gutter) * 2)); margin-inline: auto; }
.symbol-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip { position: fixed; top: 12px; left: 12px; z-index: 100; background: var(--cq-action-surface); color: var(--ink); padding: 10px 20px; transform: translateY(-180%); border-radius: 12px; }
.skip:focus { transform: none; }
.anchor-alias { position: absolute; top: 0; }
.eyebrow { display: block; font-size: .8125rem; line-height: 1.4; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); }

.site-header { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--surface) 95%, transparent);  -webkit-backdrop-filter: blur(22px); backdrop-filter: blur(22px); }
.nav { height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 16px; }
.brand img { object-fit: contain; width: 42px; height: 42px; transition: transform .5s var(--ease), filter .4s; }
.brand:hover img { transform: rotate(-8deg); filter: drop-shadow(0 0 12px color-mix(in srgb, var(--muted) 48%, transparent)); }
.brand-copy { display: flex; flex-direction: column; gap: 1px; }
.brand-copy strong { font-size: 1rem; font-weight: 500; line-height: 1.3; }
.brand-copy small { font-size: .75rem; color: var(--ink); }
.nav nav { display: flex; gap: clamp(22px, 3vw, 48px); align-items: center; margin-left: auto; margin-right: 5vw; }
.nav nav a { position: relative; padding-block: 12px; color: var(--ink); font-size: .875rem; transition: color .25s; }
.nav nav a::after { content: ''; position: absolute; inset: auto 0 5px; height: 1px; background: var(--muted); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.nav nav a:is(:hover, .is-active) { color: var(--ink); }
.nav nav a:is(:hover, .is-active)::after { transform: scaleX(1); }

/* Figma's inner light, glass edge and soft projected shadow. */
.cq-button, .header-contact, .watch-button, .contact-button, .youtube-external, .btn, .youtube-button {
  position: relative; isolation: isolate; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 12px 24px; border: 1px solid var(--muted); border-radius: 100px;
  background: color-mix(in srgb, var(--surface) 98%, transparent); color: var(--ink); font-size: .875rem; font-weight: 500; line-height: 1.4;
  box-shadow: inset 0 1px 13px color-mix(in srgb, var(--muted) 9%, transparent), 0 16px 28px -12px color-mix(in srgb, var(--bg) 38%, transparent);
  transition: transform .45s var(--ease), box-shadow .45s, background .3s;
}
.cq-button::after, .header-contact::after, .watch-button::after, .contact-button::after {
  content: ''; position: absolute; inset: -1px; pointer-events: none; padding: 1px; border-radius: inherit;
  background: conic-gradient(from var(--edge-angle), transparent 66%, color-mix(in srgb, var(--ink) 58%, transparent) 75%, transparent 86%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); mask-composite: exclude;
  animation: edge-orbit 7s linear infinite;
}
.cq-button:is(:hover, :focus-visible), .header-contact:hover, .watch-button:hover, .contact-button:hover, .btn:hover, .youtube-external:hover { transform: translateY(-3px); box-shadow: inset 0 1px 16px color-mix(in srgb, var(--muted) 9%, transparent), 0 18px 32px -12px color-mix(in srgb, var(--bg) 42%, transparent); }
.cq-button--lime, .header-contact, .contact-button, .btn.primary { background: var(--cq-action-surface); color: var(--ink); border-color: var(--lime); box-shadow: inset 0 1px 8px color-mix(in srgb, var(--ink) 42%, transparent), 0 12px 26px -16px color-mix(in srgb, var(--lime) 43%, transparent); }
.cq-button--light { background: var(--surface); border-color: var(--cq-ice); color: var(--ink); }
.header-contact { min-height: 48px; padding-inline: 22px; }
.header-contact svg { width: 18px; height: 18px; }
.glass-panel { position: relative; isolation: isolate; background: color-mix(in srgb, var(--surface) 94%, transparent); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: inset 0 1px 13px color-mix(in srgb, var(--muted) 9%, transparent), 0 16px 28.5px -4px color-mix(in srgb, var(--bg) 38%, transparent); }
@supports (backdrop-filter: blur(12px)) { .glass-panel { background: color-mix(in srgb, var(--surface) 94%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); } }

.services-section { padding-block: clamp(76px, 8vw, 128px); }
.section-head { margin-bottom: 42px; }
.section-head .eyebrow { margin-bottom: 16px; }
.section-head h2 { font-size: clamp(36px, 3.6vw, 62px); line-height: 1.12; letter-spacing: -.055em; font-weight: 600; }
.services-section > .wrap { max-width: 1500px; }

.service-social-picker {
  display: grid;
  gap: 5px;
  width: min(360px, 100%);
  margin: 0 auto 14px;
  font-size: .875rem;
}
.service-social-picker select {
  max-width: 100%;
  min-height: 40px;
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--ink);
  background: var(--surface);
  font: inherit;
}
.portfolio-intro .section-head {
  position: relative;
  z-index: 4;
  margin: 0 auto;
  text-align: center;
}
.portfolio-intro .eyebrow { color: var(--ink); font-weight: 600; letter-spacing: .15em; }
.portfolio-intro .section-head h2 {
  max-width: 15ch;
  margin-inline: auto;
  font-size: clamp(42px, 6.4vw, 94px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.06em;
  text-wrap: balance;
}
.portfolio-link { margin-top: clamp(17px, 2.2vw, 28px); }
.portfolio-carousel { position: relative; margin-top: clamp(-114px, -8vw, -38px); }
.portfolio-stage {
  position: relative;
  isolation: isolate;
  height: clamp(460px, 46vw, 680px);
  background: radial-gradient(ellipse at 49% 63%, var(--surface), var(--bg) 64%);
}
.portfolio-stage::before,
.portfolio-stage::after {
  position: absolute;
  inset: 0;
  content: '';
  pointer-events: none;
}
.portfolio-stage::before {
  z-index: 2;
  background:
    radial-gradient(ellipse at 44% 64%, color-mix(in srgb, var(--cq-steel) 54%, transparent),
      color-mix(in srgb, var(--cq-steel) 21%, transparent) 24%, transparent 48%),
    radial-gradient(ellipse at 58% 62%, color-mix(in srgb, var(--cq-lime) 11%, transparent), transparent 45%);
}
.portfolio-stage::after {
  z-index: 4;
  background: linear-gradient(to top, var(--bg), color-mix(in srgb, var(--bg) 43%, transparent) 7%, transparent 22%);
}
.portfolio-panels {
  position: absolute;
  inset: 39% 0 12%;
  z-index: 1;
  perspective: 1050px;
}
.portfolio-slide {
  --offset: 0%;
  --turn: 0deg;
  --depth: .88;
  position: absolute;
  inset-block-start: 50%;
  left: 50%;
  width: min(38%, 475px);
  height: 90%;
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--cq-steel);
  border-radius: clamp(8px, 1vw, 17px);
  background: var(--surface);
  transform: translate(-50%, -50%) translateX(var(--offset)) rotateY(var(--turn)) scale(var(--depth));
  transition: transform .8s var(--ease), opacity .45s, border-color .25s;
}
.portfolio-slide[data-position="left"] { --offset: -80%; --turn: 26deg; --depth: .97; z-index: 2; }
.portfolio-slide[data-position="right"] { --offset: 80%; --turn: -26deg; --depth: .97; z-index: 2; }
.portfolio-slide[data-position="center"] { opacity: .82; }
.portfolio-slide video { width: 100%; height: 100%; display: block; object-fit: cover; pointer-events: none; }
.portfolio-slide[data-portfolio-slide="social"] video { object-position: center 55%; }
.portfolio-slide::after {
  position: absolute;
  inset: 0;
  content: '';
  background: linear-gradient(to top, color-mix(in srgb, var(--bg) 68%, transparent),
    transparent 55%, color-mix(in srgb, var(--bg) 26%, transparent));
  pointer-events: none;
}
.portfolio-slide:is(:hover, :focus-visible) { opacity: 1; border-color: var(--lime); }
.portfolio-slide-caption {
  position: absolute;
  z-index: 1;
  inset: auto auto 13px 13px;
  display: flex;
  align-items: center;
  gap: 6px;
  max-width: calc(100% - 26px);
  padding: 5px 10px;
  color: var(--ink);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  border: 1px solid var(--cq-steel);
  border-radius: 99px;
  font-size: .79rem;
  line-height: 1.25;
  text-align: left;
}
.portfolio-slide[data-position="right"] .portfolio-slide-caption { inset-inline: auto 13px; }
.portfolio-slide-caption svg { width: 13px; height: 13px; fill: currentColor; stroke: none; }
.portfolio-profile { position: absolute; inset: 0; z-index: 3; margin: 0; pointer-events: none; }
.portrait-cutout {
  position: absolute;
  inset: 0;
  display: block;
}
.portrait-cutout img {
  position: absolute;
  inset: 0;
  margin: auto;
  width: auto;
  max-width: 100%;
  height: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: brightness(.78) saturate(.78) drop-shadow(-10px 3px 22px color-mix(in srgb, var(--cq-steel) 56%, transparent));
}
.portrait-cutout.is-lit::after {
  --portrait-silhouette: image-set(url('images/cq-retrato-luz-800.webp') 1x, url('images/cq-retrato-luz-1440.webp') 2x);
  position: absolute;
  inset: 0;
  width: auto;
  height: 100%;
  max-width: 100%;
  aspect-ratio: 2 / 3;
  margin: auto;
  content: '';
  background: linear-gradient(106deg, transparent 38%,
    color-mix(in srgb, var(--bg) 18%, transparent) 49%,
    color-mix(in srgb, var(--bg) 77%, transparent) 66%, var(--bg) 91%);
  -webkit-mask: var(--portrait-silhouette) center / 100% 100% no-repeat;
  mask: var(--portrait-silhouette) center / 100% 100% no-repeat;
  mix-blend-mode: multiply;
}
.portfolio-controls {
  position: relative;
  z-index: 5;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 9px;
  margin-top: 12px;
}
.portfolio-categories { display: flex; flex-wrap: wrap; justify-content: center; gap: 7px; }
.portfolio-controls button {
  min-height: 40px;
  padding: 6px 13px;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: var(--surface);
  color: var(--ink);
  font-size: .8125rem;
}
.portfolio-controls button:is(:hover, :focus-visible) { border-color: var(--cq-steel); }
.portfolio-categories button[aria-pressed="true"] { border-color: var(--lime); color: var(--ink); }
.portfolio-controls .portfolio-step { width: 40px; padding: 0; font-size: 1.4rem; line-height: 1; }
@media (max-width: 760px) {
  .portfolio-intro .section-head h2 { max-width: 14ch; font-size: clamp(36px, 9.2vw, 58px); }
  .portfolio-stage { height: clamp(315px, 91vw, 485px); }
  .portfolio-panels { inset: 42% 0 16%; perspective: 690px; }
  .portfolio-slide { width: 44%; height: 100%; }
  .portfolio-slide[data-position="left"] { --offset: -68%; --turn: 22deg; }
  .portfolio-slide[data-position="right"] { --offset: 68%; --turn: -22deg; }
  .portfolio-slide-caption { max-width: calc(100% - 14px); inset: auto auto 7px 7px; padding: 4px 6px; font-size: .625rem; }
  .portfolio-slide[data-position="right"] .portfolio-slide-caption { inset-inline: auto 7px; }
  .portfolio-controls { gap: 7px; }
  .portfolio-categories { order: -1; width: 100%; }
  .portfolio-controls button { padding-inline: 10px; font-size: .75rem; }
}
@media (prefers-reduced-motion: reduce) {
  .portfolio-slide { transition: none; }
}

.services-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; padding: 20px; border: 1px solid var(--line); border-radius: 30px; background: var(--bg); }
.service-card { min-width: 0; padding: 14px; border-radius: 20px; transition: border-color .4s, box-shadow .4s; }
.service-card:is(:hover, :focus-within) { border-color: var(--muted); box-shadow: inset 0 1px 14px color-mix(in srgb, var(--muted) 9%, transparent), 0 22px 40px -8px color-mix(in srgb, var(--bg) 38%, transparent); }
.service-sample { display: block; position: relative; width: 100%; padding: 0; aspect-ratio: 16/9; overflow: hidden; border: none; border-radius: 16px; background: var(--bg); }
.service-poster { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.service-sample:hover .service-poster { transform: scale(1.035); }
.service-play-chip { position: absolute; bottom: 18px; left: 18px; background: color-mix(in srgb, var(--surface) 95%, transparent); border: 1px solid var(--muted); backdrop-filter: blur(12px); border-radius: 100px; padding: 9px 16px; display: flex; gap: 9px; align-items: center; color: var(--ink); font-size: .8125rem; box-shadow: 0 8px 18px color-mix(in srgb, var(--bg) 50%, transparent); transition: background .3s; }
.service-play-chip svg { width: 14px; height: 14px; fill: currentColor; stroke: none; }
.service-sample:hover .service-play-chip { background: color-mix(in srgb, var(--surface) 99%, transparent); }
.service-card-meta { padding: 17px 3px 5px; }
.service-card-meta h3 { font-size: clamp(17px, 1.45vw, 22px); line-height: 1.3; letter-spacing: -.035em; }
.service-card-meta p { font-size: .9375rem; margin-top: 8px; color: var(--ink); }
.service-card--social { grid-column: auto; display: flex; flex-direction: column; align-items: stretch; padding: 14px; min-height: 0; overflow: hidden; }
.service-carousel { container-type: inline-size; width: 100%; min-width: 0; aspect-ratio: 16/9; border-radius: 16px; overflow: hidden; }
.service-carousel-stage { --reel-width: clamp(50px, 23cqw, 124px); --reel-height: calc(var(--reel-width) * 16 / 9); --reel-step: 13.1cqw; position: relative; height: 100%; min-height: 0; width: 100%; perspective: 1100px; }
.service-reel { position: absolute; width: var(--reel-width); height: var(--reel-height); left: 50%; top: 50%; margin: 0; border-radius: 8px; overflow: hidden; background: transparent; z-index: var(--stack, 1); opacity: .94; box-shadow: 0 12px 22px -8px color-mix(in srgb, var(--bg) 53%, transparent), 0 2px 5px color-mix(in srgb, var(--bg) 42%, transparent); transform: translate(-50%, -50%) translateX(calc(var(--position) * var(--reel-step))) translateY(calc(var(--depth, 1) * 3px)) scale(var(--scale, .7)) rotateY(calc(var(--position) * -8deg)) rotateZ(calc(var(--position) * 2deg)); transition: transform .85s var(--ease), opacity .5s; }
.service-reel.is-center { z-index: 8; opacity: 1; transform: translate(-50%, -50%); }
.service-reel-select { border: 0; padding: 0; width: 100%; height: 100%; display: block; background: transparent; }
.service-reel-select img, .service-reel-video { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.service-reel-video { display: none; }
.is-playing .service-reel.is-center .service-reel-video { display: block; position: absolute; inset: 0; }
.is-playing .service-reel.is-center .service-reel-select { visibility: hidden; }
.is-playing .service-reel.is-center { transform: translate(-50%, -50%) scale(1.24); }
.is-selected .service-reel.is-center { transform: translate(-50%, -50%) scale(1.3); }
.is-transitioning .service-reel { opacity: .85; }

.store-section { padding-block: clamp(76px, 7vw, 120px); }
.store-section > .scene-art img { object-position: center; }
.store-heading p { color: var(--ink); margin-top: 14px; }
.store-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.product-card { min-width: 0; position: relative; border-radius: var(--radius); }
.store-icon { position: relative; display: flex; flex-direction: column; width: 100%; height: 100%; padding: 20px; text-align: left; border: 1px solid var(--line); border-radius: inherit; background: var(--surface); box-shadow: inset 0 1px 13px color-mix(in srgb, var(--muted) 9%, transparent), 0 16px 28px -4px color-mix(in srgb, var(--bg) 38%, transparent); transition: transform .5s var(--ease), border-color .4s, box-shadow .4s; }
.store-icon:hover { transform: translateY(-7px); border-color: var(--muted); box-shadow: inset 0 1px 16px color-mix(in srgb, var(--muted) 9%, transparent), 0 24px 40px -8px color-mix(in srgb, var(--bg) 41%, transparent); }
.product-cover { display: block; position: relative; width: 100%; aspect-ratio: 16/9; overflow: hidden; border-radius: 14px; background: var(--bg); }
.product-cover img { width: 100%; height: 100%; object-fit: contain; transition: transform .7s var(--ease); }
.store-preview-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; pointer-events: none; opacity: 0; transition: opacity .16s ease; }
.store-preview-video.is-playing { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .store-preview-video { display: none; } }
.store-icon:hover .product-cover img { transform: scale(1.035); }
.product-caption { display: flex; flex-direction: column; align-items: flex-start; gap: 7px; padding-top: 18px; }
.product-caption strong { font-size: .9375rem; font-weight: 600; line-height: 1.4; letter-spacing: -.025em; }
.product-caption > span { font-size: .8125rem; color: var(--ink); }
.product-preview-cue { position: absolute; right: 10px; bottom: 10px; display: grid; place-items: center; width: 30px; height: 30px; background: color-mix(in srgb, var(--surface) 95%, transparent); border-radius: 50%; border: 1px solid var(--line); backdrop-filter: blur(6px); opacity: 0; transform: scale(.7); transition: opacity .3s, transform .4s var(--ease); }
.product-preview-cue svg { width: 13px; height: 13px; }
.store-icon:is(:hover, :focus-visible) .product-preview-cue { opacity: 1; transform: scale(1); }
.product-badge { position: absolute; top: 10px; right: 10px; border-radius: 100px; padding: 4px 10px; color: var(--ink); background: var(--surface); font-size: .75rem; }
.store-note { margin-top: 30px; color: var(--ink); font-size: .8125rem; }

.contact-section { padding-block: clamp(80px, 8vw, 135px) 34px; }
.contact-layout { display: grid; grid-template-columns: 1.15fr .85fr; gap: 80px; align-items: center; }
.contact-intro h2 { font-size: clamp(38px, 4.8vw, 78px); letter-spacing: -.06em; line-height: 1.12; max-width: 680px; margin-top: 24px; }
.contact-intro > p:last-of-type { margin-top: 24px; color: var(--ink); }
.contact-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.contact-email { display: inline-block; margin-top: 25px; color: var(--ink); font-size: .9375rem; overflow-wrap: anywhere; }
.contact-email:hover { color: var(--ink); }
.contact-profile { justify-self: end; min-width: 300px; padding: 30px; border-radius: 24px; }
.contact-profile > p { font-size: 1.375rem; margin-bottom: 6px; }
.contact-profile > span { font-size: .875rem; color: var(--ink); }
.contact-links { display: flex; flex-direction: column; gap: 18px; margin-top: 26px; }
.contact-link { display: flex; flex-direction: column; align-items: flex-start; font-size: .875rem; transition: transform .35s var(--ease), color .3s; }
.contact-link > span { color: var(--ink); font-size: .75rem; }
.contact-link strong { font-weight: 500; }
.contact-link:hover { color: var(--ink); transform: translateX(4px); }
.footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-top: 96px;  padding-top: 28px; color: var(--ink); font-size: .8125rem; }
.footer .brand img { width: 28px; height: 28px; }
.footer .brand { gap: 12px; }
.contact-dock { position: fixed; bottom: 22px; right: 22px; z-index: 25; }
.contact-dock-button { display: inline-flex; align-items: center; gap: 9px; padding: 12px 17px; background: color-mix(in srgb, var(--surface) 98%, transparent); border: 1px solid var(--muted); border-radius: 100px; box-shadow: inset 0 1px 9px color-mix(in srgb, var(--muted) 9%, transparent), 0 10px 25px color-mix(in srgb, var(--bg) 38%, transparent); font-size: .8125rem; transition: transform .4s var(--ease); }
.contact-dock-button svg { color: var(--ink); width: 20px; height: 20px; }
.contact-dock-button:hover { transform: translateY(-4px); }
body:has(dialog[open]) .contact-dock { visibility: hidden; }

/* All dialogs share the same material and retain native keyboard focus handling. */
dialog { padding: 0; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 28px; max-width: 1280px; width: min(1280px, calc(100% - 64px)); max-height: calc(100svh - 64px); overflow: auto; box-shadow: inset 0 1px 12px color-mix(in srgb, var(--muted) 9%, transparent), 0 40px 120px color-mix(in srgb, var(--bg) 42%, transparent); }
dialog::backdrop { background: color-mix(in srgb, var(--bg) 76%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
dialog[open] { animation: dialog-in .48s var(--ease) both; }
.dialog-close { position: absolute; z-index: 5; right: 20px; top: 20px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--muted); background: var(--bg); display: grid; place-items: center; font-size: 26px; transition: transform .3s; }
.dialog-close:hover { transform: rotate(90deg); }
.dialog-close svg { width: 18px; height: 18px; }
.profile-header { display: flex; gap: 12px; align-items: center; padding: 25px 36px; border-bottom: 1px solid var(--line); font-size: .8125rem; color: var(--ink); }
.profile-header img { object-fit: contain; }
.product-detail { display: grid; grid-template-columns: .85fr 1.3fr; align-items: center; gap: 40px; padding: 38px; }
.product-detail > * { min-width: 0; }
.detail-icon { display: none; }
.detail-copy h2 { font-size: clamp(28px, 3vw, 42px); line-height: 1.16; letter-spacing: -.05em; margin-top: 12px; }
.detail-copy > p:not(.eyebrow) { color: var(--ink); font-size: .9375rem; margin-top: 16px; }
.detail-copy .profile-tagline { color: var(--ink) !important; }
.profile-features { padding-left: 20px; color: var(--ink); font-size: .875rem; margin-block: 22px; }
.profile-features li { padding-left: 4px; margin-top: 7px; }
.profile-features li::marker { color: var(--ink); }
.detail-copy .detail-state { font-size: 1rem !important; color: var(--ink) !important; }
.profile-note { font-size: .8125rem !important; }
.detail-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.detail-media { position: relative; overflow: hidden; border-radius: 18px; aspect-ratio: 16/9; background: var(--bg); display: grid; place-items: center; }
.detail-media video, .detail-media > img { width: 100%; height: 100%; object-fit: contain; }
.preview-coming { position: absolute; bottom: 16px; padding: 7px 13px; background: color-mix(in srgb, var(--surface) 93%, transparent); border-radius: 100px; font-size: .75rem; }
.detail-footer { border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 20px; padding: 20px 36px; color: var(--ink); font-size: .8125rem; }
.preview-retry, .service-retry { border: 1px solid var(--muted); padding: 7px 12px; color: var(--ink); background: var(--bg); border-radius: 100px; }
.videos-dialog { padding: 40px; }
.videos-heading h2 { margin-top: 10px; font-size: 38px; letter-spacing: -.05em; }
.videos-layout { display: grid; grid-template-columns: 1.7fr 1fr; gap: 24px; margin-top: 28px; }
.youtube-stage { aspect-ratio: 16/9; background: var(--bg); border-radius: 16px; overflow: hidden; }
.youtube-stage iframe { display: block; width: 100%; height: 100%; border: 0; }
.video-list { display: flex; flex-direction: column; gap: 12px; }
.video-choice { display: flex; align-items: center; gap: 14px; text-align: left; padding: 10px; color: var(--ink); border: 1px solid var(--muted); border-radius: 14px; background: var(--bg); font-size: .8125rem; }
.video-choice img { width: 90px; height: 51px; object-fit: cover; border-radius: 7px; }
.video-choice svg { width: 15px; height: 15px; margin-left: auto; }
.video-choice[aria-pressed=true] { border-color: var(--muted); }
.youtube-external { margin-top: 24px; }
.service-dialog { max-width: 1280px; padding: 30px; }
.service-dialog-header h2 { padding-right: 48px; margin-bottom: 22px; font-size: clamp(24px, 3vw, 34px); letter-spacing: -.04em; }
.service-player { aspect-ratio: 16/9; display: grid; place-items: center; border-radius: 18px; overflow: hidden; background: var(--bg); }
.service-player video { display: block; width: 100%; height: 100%; object-fit: contain; max-height: calc(100svh - 220px); }
.service-player.is-portrait { width: min(360px, 100%); aspect-ratio: 9/16; margin: auto; }
.service-player-note { margin-top: 16px; color: var(--ink); font-size: .8125rem; }
.service-player-note a { text-decoration: underline; margin-left: 10px; }
.download-dialog { max-width: 650px; padding: 40px; }
.download-dialog h2 { font-size: 30px; margin-block: 15px; }
.download-dialog p { color: var(--ink); font-size: .9375rem; }
.kicker { color: var(--ink) !important; font-size: .8125rem !important; }
.subscription-form { margin-top: 24px; }
.subscribe-step { display: flex; gap: 18px; padding-block: 22px; border-top: 1px solid var(--line); }
.step-number { color: var(--ink); font-size: .875rem; }
.subscribe-step h3 { font-size: 1rem; margin-bottom: 8px; }
.youtube-button { margin-top: 15px; }
.subscription-confirm { display: flex; gap: 12px; align-items: flex-start; margin-block: 16px; font-size: .9375rem; }
.subscription-confirm input { width: 18px; height: 18px; accent-color: var(--lime); margin-top: 4px; flex-shrink: 0; }
.subscription-form .btn { margin-top: 10px; }
.download-ready { padding-block: 25px; }
.download-ready .btn { margin-top: 18px; }
.ready-check { color: var(--ink); font-size: 28px; }
.dialog-footnote { margin-top: 20px !important; font-size: .75rem !important; }
.noscript-note { padding: 24px; text-align: center; }

/* Reversible entrances are activated by visibility, on downward and upward scroll. */
.motion-ready [data-motion] { opacity: 0; translate: 0 20px; transition: opacity .58s var(--ease), translate .64s var(--ease); transition-delay: var(--delay, 0ms); }
.motion-ready [data-motion].is-visible { opacity: 1; translate: 0 0; }
.motion-ready.is-scrolling-up [data-motion]:not(.is-visible) { translate: 0 -20px; }
.motion-pending .site-header [data-motion], .motion-pending .portfolio-hero [data-motion] { opacity: 0; }
body.intro-running .portfolio-hero [data-motion] { transition-delay: var(--delay, 0ms); }
body.intro-running .hero-heading [data-motion='words'] .word-glyph { transition-duration: 1.05s; transition-delay: calc(var(--delay, 0ms) + var(--word-delay, 0ms)); }
body.intro-running .portfolio-hero [data-motion='text'] { transition-duration: .9s; }
body.intro-running .portrait-actions { transition-duration: .85s; }
dialog[open] .detail-copy > *, dialog[open] .detail-media, dialog[open] .video-choice { animation: dialog-item .58s var(--ease) both; }
dialog[open] .detail-copy > :nth-child(2) { animation-delay: 50ms; }
dialog[open] .detail-copy > :nth-child(3) { animation-delay: 90ms; }
dialog[open] .detail-copy > :nth-child(4) { animation-delay: 130ms; }
dialog[open] .video-choice:nth-child(2) { animation-delay: 60ms; }
dialog[open] .video-choice:nth-child(3) { animation-delay: 120ms; }
dialog[open] .video-choice:nth-child(4) { animation-delay: 180ms; }
@property --edge-angle { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
@keyframes edge-orbit { to { --edge-angle: 360deg; } }
@keyframes button-float { 50% { transform: translateY(-5px); } }
@keyframes light-breathe { to { opacity: .7; transform: translateY(calc(var(--lift, 0px) - 12px)); } }
@keyframes dialog-in { from { opacity: 0; transform: translateY(22px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes dialog-item { from { opacity: 0; translate: 0 14px; } to { opacity: 1; translate: 0 0; } }

@media (min-width: 1800px) { .hero-section { min-height: 920px; } .hero-copy { width: 53%; } }
@media (max-width: 1100px) {
  :root { --gutter: 36px; }
  .nav nav { gap: 24px; margin-right: 10px; }
  .hero-section { min-height: 750px; }
  .hero-inner { padding-top: 70px; }
  .hero-copy { width: 60%; }
  .hero-copy h1 { font-size: 58px; }
  .hero-portrait { right: -8%; bottom: -10%; height: 100%; }
  .hero-wordmark { font-size: 12vw; }
  .hero-watch { right: 0; }
  .store-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
  .store-icon { padding: 16px; }
  .service-card--social { padding: 14px; }
  .contact-layout { gap: 40px; }
  .product-detail { grid-template-columns: 1fr 1.2fr; gap: 24px; padding: 30px; }
  .videos-layout { grid-template-columns: 1fr; }
  .video-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  :root { --gutter: 24px; --radius: 22px; }
  html { scroll-padding-top: 94px; }
  .nav { height: 78px; gap: 14px; }
  .nav nav { gap: 20px; margin: 0 0 0 auto; }
  .nav nav a { font-size: .8125rem; }
  .nav nav a[href='#contacto'] { display: none; }
  .brand { gap: 10px; }
  .brand-copy strong { font-size: .875rem; }
  .brand-copy small { font-size: .6875rem; }
  .brand img { width: 32px; height: 32px; }
  .header-contact { width: 43px; min-height: 43px; padding: 0; }
  .header-contact span { display: none; }
  .hero-section { min-height: 1000px; }
  .hero-inner { padding-top: 48px; padding-bottom: 540px; }
  .hero-copy { width: 100%; max-width: 600px; }
  .hero-label { margin-bottom: 24px; font-size: .6875rem; }
  .hero-copy h1 { font-size: clamp(39px, 7.8vw, 57px); max-width: 600px; }
  .hero-description { font-size: .9375rem; margin-top: 20px; max-width: 400px; }
  .hero-actions { margin-top: 23px; gap: 10px; }
  .hero-actions .cq-button { padding: 12px 18px; min-height: 48px; font-size: .8125rem; }
  .hero-specialties { font-size: .6875rem; margin-top: 22px; }
  .hero-portrait { right: -2%; bottom: -20px; height: 570px; max-width: none; }
  .hero-wordmark { font-size: 12.9vw; left: 0; bottom: 120px; z-index: 4; letter-spacing: -.075em; text-shadow: 0 2px 24px color-mix(in srgb, var(--bg) 88%, transparent); }
  .hero-watch { bottom: 28px; right: 0; left: 0; display: flex; justify-content: center; }
  .fluted-light { inset: 34% -20% 5%; opacity: .42; gap: 18px; }
  .services-section, .store-section { padding-block: 68px; }
  .section-head { margin-bottom: 28px; }
  .section-head h2 { font-size: 38px; }
  .section-head .eyebrow { margin-bottom: 13px; }
  .services-grid { grid-template-columns: 1fr; gap: 16px; padding: 12px; border-radius: 25px; }
  .service-card { padding: 14px; }
  .service-sample { border-radius: 13px; }
  .service-card-meta { padding: 18px 6px 8px; }
  .service-card-meta h3 { font-size: 22px; }
  .service-card-meta p { font-size: .875rem; }
  .service-play-chip { bottom: 12px; left: 12px; font-size: .75rem; padding: 8px 12px; }
  .service-card--social { padding: 14px; }
  .service-carousel { margin-top: 0; border-radius: 13px; }
  .service-reel { border-radius: 7px; }
  .service-carousel-stage { min-height: 0; }
  .store-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 14px; }
  .store-icon { padding: 12px; border-radius: 20px; }
  .product-cover { border-radius: 11px; }
  .product-caption { gap: 6px; padding-top: 13px; }
  .product-caption strong { font-size: .8125rem; }
  .product-caption > span { font-size: .75rem; line-height: 1.4; }
  .product-badge { top: 6px; right: 6px; padding: 3px 8px; font-size: .625rem; }
  .store-heading p { font-size: .9375rem; }
  .contact-section { padding-block: 68px 28px; }
  .contact-layout { grid-template-columns: 1fr; gap: 40px; }
  .contact-intro h2 { font-size: 44px; margin-top: 20px; }
  .contact-intro > p:last-of-type { font-size: .9375rem; }
  .contact-profile { justify-self: stretch; min-width: 0; padding: 26px; }
  .contact-links { flex-direction: row; flex-wrap: wrap; gap: 24px; }
  .footer { margin-top: 56px; padding-bottom: 72px; font-size: .75rem; }
  .footer > p:last-child { max-width: 170px; }
  .contact-dock { right: 16px; bottom: 16px; }
  .contact-dock-button { padding: 11px 14px; }
  dialog { width: calc(100% - 24px); max-height: calc(100svh - 24px); border-radius: 22px; }
  .dialog-close { top: 15px; right: 15px; width: 34px; height: 34px; }
  .profile-header { padding: 23px; font-size: .75rem; }
  .product-detail { display: flex; flex-direction: column; align-items: stretch; padding: 26px 22px; gap: 28px; }
  .detail-copy h2 { padding-right: 10px; }
  .detail-copy > p:not(.eyebrow) { font-size: .875rem; }
  .detail-footer { padding: 18px 22px; font-size: .75rem; flex-wrap: wrap; gap: 8px; }
  .videos-dialog { padding: 30px 20px 24px; }
  .videos-heading h2 { font-size: 30px; }
  .video-list { grid-template-columns: 1fr; }
  .service-dialog { padding: 25px 16px; }
  .service-dialog-header h2 { font-size: 24px; }
  .service-player-note { font-size: .75rem; }
  .download-dialog { padding: 30px 23px; }
  .motion-ready [data-motion] { transition-delay: min(var(--delay, 0ms), 100ms); }
}
@media (max-width: 390px) {
  :root { --gutter: 20px; }
  .brand-copy { display: none; }
  .nav nav { gap: 25px; }
  .hero-copy h1 { font-size: 39px; }
  .hero-section { min-height: 980px; }
  .hero-portrait { right: -12%; }
  .hero-actions .cq-button { padding-inline: 14px; font-size: .75rem; }
  .product-caption strong { font-size: .75rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .motion-ready [data-motion] { opacity: 1; translate: none; }
}

/* Superficies y retrato de la portada. */
.brand img { filter: none; }
.brand:hover img { filter: drop-shadow(0 0 10px color-mix(in srgb, var(--muted) 48%, transparent)); }
.site-header { box-shadow: none; }
.cq-button, .watch-button, .youtube-external, .youtube-button { box-shadow: inset 0 1px color-mix(in srgb, var(--muted) 28%, transparent), 0 7px 18px color-mix(in srgb, var(--bg) 38%, transparent); }
.watch-button { background: var(--surface); color: var(--ink); border-color: var(--muted); box-shadow: inset 0 1px color-mix(in srgb, var(--muted) 9%, transparent), 0 10px 23px color-mix(in srgb, var(--bg) 42%, transparent); }
.watch-button::after { opacity: .8; }
.glass-panel, .store-icon { box-shadow: inset 0 1px color-mix(in srgb, var(--muted) 28%, transparent), 0 18px 36px -14px color-mix(in srgb, var(--bg) 46%, transparent), 0 3px 9px color-mix(in srgb, var(--bg) 37%, transparent); }
.glass-panel:is(:hover, :focus-within), .store-icon:hover { border-color: var(--muted); box-shadow: inset 0 1px color-mix(in srgb, var(--muted) 28%, transparent), 0 25px 44px -15px color-mix(in srgb, var(--bg) 50%, transparent), 0 6px 14px color-mix(in srgb, var(--bg) 39%, transparent); }
.service-sample { background: var(--bg); box-shadow: 0 13px 24px -10px color-mix(in srgb, var(--bg) 56%, transparent), 0 2px 7px color-mix(in srgb, var(--bg) 41%, transparent); }
.service-play-chip { background: color-mix(in srgb, var(--surface) 96%, transparent); color: var(--ink); border-color: var(--muted); box-shadow: 0 6px 17px color-mix(in srgb, var(--bg) 39%, transparent); }
.service-sample:hover .service-play-chip { background: var(--surface); }
.product-preview-cue { color: var(--ink); background: color-mix(in srgb, var(--surface) 96%, transparent); }
.product-badge { color: var(--ink); }
.profile-header img { filter: none; }
.detail-media { background: var(--bg); }
.detail-media video { background: var(--bg); }
.contact-dock-button { color: var(--ink); border-color: var(--muted); box-shadow: inset 0 1px color-mix(in srgb, var(--muted) 28%, transparent), 0 8px 24px color-mix(in srgb, var(--bg) 39%, transparent); }
.contact-dock-button svg { color: var(--ink); }
.contact-link:hover, .contact-email:hover { color: var(--ink); }
.services-section { background: var(--bg);  }
.store-section { background: var(--bg); }
.contact-section { background: var(--bg);  }
.portrait-actions .cq-button { box-shadow: 0 10px 24px color-mix(in srgb, var(--bg) 41%, transparent), inset 0 1px color-mix(in srgb, var(--bg) 70%, transparent); }

.portfolio-hero { position: relative; isolation: isolate; overflow: clip; padding-block: 48px 40px; background: var(--bg); }
.portfolio-hero::before { content: ''; position: absolute; inset: 18% -10% 0; pointer-events: none; z-index: -1; background: radial-gradient(ellipse at 32% 65%, color-mix(in srgb, var(--muted) 15%, transparent), transparent 43%), radial-gradient(ellipse at 75% 78%, color-mix(in srgb, var(--surface) 76%, transparent), transparent 43%); }
.hero-heading { text-align: center; }
.hero-heading .eyebrow { color: var(--ink); font-size: .8125rem; letter-spacing: .06em; text-transform: none; margin-bottom: 16px; }
.hero-heading h1 { color: var(--ink); font-size: clamp(42px, 4.7vw, 70px); line-height: 1.08; letter-spacing: -.065em; font-weight: 600; }
.hero-heading h1 > .hero-period { color: var(--ink); }
.hero-role { margin-top: 18px; font-size: clamp(18px, 1.7vw, 25px); letter-spacing: -.035em; color: var(--ink); }
.hero-role em { font-weight: 400; }
.hero-heading .hero-description { color: var(--ink); max-width: none; margin: 12px auto 0; font-size: .9375rem; }
.portrait-actions { display: flex; gap: 16px; justify-content: center; align-items: center; margin-top: 15px; position: relative; z-index: 6; }
@media(max-width:760px) {
  .portfolio-hero { padding-block: 44px 34px; }
  .hero-heading h1 { font-size: clamp(39px, 8.6vw, 56px); }
  .hero-heading .eyebrow { font-size: .75rem; margin-bottom: 17px; }
  .hero-role { max-width: 320px; margin: 16px auto 0; font-size: 20px; line-height: 1.4; }
  .hero-heading .hero-description { font-size: .875rem; max-width: 285px; }
  .portrait-actions { margin-top: 5px; gap: 12px; }
  .portrait-actions .watch-button, .portrait-actions .cq-button { min-height: 48px; padding: 12px 18px; font-size: .8125rem; }
  .services-section, .store-section { padding-block: 60px; }
  .service-card, .store-icon { background: var(--surface); }
}

/* Ambient glass, with the original CQ palette kept in the light direction. */
.site-header { isolation: isolate; overflow: clip; background: linear-gradient(100deg, color-mix(in srgb, var(--surface) 92%, transparent), color-mix(in srgb, var(--surface) 98%, transparent) 42%, color-mix(in srgb, var(--surface) 94%, transparent)); border-color: var(--line); box-shadow: none; transition: background .5s, box-shadow .5s; }
.site-header::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(ellipse at 8% 20%, color-mix(in srgb, var(--muted) 13%, transparent), transparent 33%), radial-gradient(ellipse at 86% 100%, color-mix(in srgb, var(--muted) 8%, transparent), transparent 35%); animation: header-ambient 12s ease-in-out infinite alternate; }
.site-header::after { display: none; }
.site-header.is-scrolled { background: linear-gradient(100deg, color-mix(in srgb, var(--surface) 96%, transparent), var(--surface) 48%, color-mix(in srgb, var(--surface) 97%, transparent)); box-shadow: none; }
.portfolio-hero::before { opacity: .55; }

/* Titles unfold word by word; media and cards have separate entrance curves. */
.motion-word { display: inline-block; overflow: clip; vertical-align: bottom; padding: .14em .09em .18em; margin: -.14em -.09em -.18em; }
.word-glyph { display: inline-block; }
.motion-ready [data-motion='words'] { opacity: 1; translate: none; }
.motion-ready [data-motion='words'] .word-glyph { opacity: 0; transform: translateY(115%) rotate(3deg); transition: transform .78s cubic-bezier(.2,.8,.2,1), opacity .6s ease; transition-delay: calc(var(--delay, 0ms) + var(--word-delay, 0ms)); }
.motion-ready [data-motion='words'].is-visible .word-glyph { opacity: 1; transform: none; }
.motion-ready.is-scrolling-up [data-motion='words']:not(.is-visible) .word-glyph { transform: translateY(-115%) rotate(-3deg); }
.motion-ready [data-motion='text'] { filter: blur(3px); translate: 0 14px; transition: opacity .65s, translate .75s var(--ease), filter .75s; transition-delay: var(--delay, 0ms); }
.motion-ready [data-motion='text'].is-visible { filter: none; translate: none; }
.motion-ready [data-motion='card'] { scale: .97; rotate: 1deg; translate: 0 34px; transition: opacity .7s, translate .85s var(--ease), scale .85s var(--ease), rotate .9s var(--ease), transform .45s var(--ease), border-color .4s, box-shadow .4s; transition-delay: var(--delay, 0ms); }
.motion-ready [data-motion='card'].is-visible { scale: 1; rotate: 0deg; translate: none; }
.motion-ready [data-motion='media'] { clip-path: inset(10% 7% 10% 7% round 20px); scale: .95; transition: clip-path 1s var(--ease), opacity .7s, scale 1s var(--ease), translate .85s var(--ease); }
.motion-ready [data-motion='media'].is-visible { clip-path: inset(-32px round 13px); scale: 1; }
.motion-ready [data-motion='portrait'] { scale: .96; filter: blur(3px); transition: opacity .9s, translate 1s var(--ease), scale 1.1s var(--ease), filter .85s; transition-delay: var(--delay, 0ms); }
.motion-ready [data-motion='portrait'].is-visible { scale: 1; filter: none; }
.motion-ready [data-motion='control'] { scale: .94; transition: opacity .6s, translate .8s var(--ease), scale .8s var(--ease), transform .4s, box-shadow .4s; }
.motion-ready [data-motion='control'].is-visible { scale: 1; }
.service-sample.is-visible .service-poster, .product-cover.is-visible > img { animation: media-drift 11s ease-in-out infinite alternate; }
.service-sample:hover .service-poster, .store-icon:hover .product-cover > img { animation-play-state: paused; }
.service-card { transform: perspective(1100px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)); transition-property: transform, border-color, box-shadow; }
.store-icon:hover { transform: perspective(1100px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)) translateY(-6px); }
.service-card-meta h3 .word-glyph { transition-duration: .65s; }

/* Services use a single short entrance instead of nested blur, crop and 3D motion. */
.services-section .service-card {
  transform: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition: border-color .2s ease;
}
.motion-ready .services-section [data-motion='service-card'],
.motion-ready .services-section [data-motion='service-heading'] {
  opacity: 0;
  translate: 0 10px;
  scale: none;
  rotate: none;
  filter: none;
  clip-path: none;
  transition: opacity .28s ease-out, translate .38s var(--ease);
  transition-delay: min(var(--delay, 0ms), 90ms);
}
.motion-ready .services-section [data-motion].is-visible { opacity: 1; translate: none; }
.motion-ready.is-scrolling-up .services-section [data-motion]:not(.is-visible) { translate: 0 -10px; }
.services-section .service-poster { animation: none; transition: transform .24s ease-out; }
.services-section .service-sample:hover .service-poster { transform: scale(1.015); }
.services-section .service-play-chip { backdrop-filter: none; -webkit-backdrop-filter: none; }
.services-section .service-reel { transition: transform .45s var(--ease), opacity .22s ease; }
.services-section .service-carousel.is-transitioning .service-reel.is-center { transform: translate(-50%, -50%) scale(1.24); }
.hero-period { animation: period-light 5s ease-in-out infinite alternate; }

/* YouTube is identifiable before the gallery opens. */
.youtube-mark { width: 30px; height: 22px; color: var(--ink); stroke: none; flex-shrink: 0; }
.watch-button.youtube-launch { --youtube-cutout: var(--surface); color: var(--ink); background: var(--surface); border-color: var(--muted); box-shadow: inset 0 1px color-mix(in srgb, var(--muted) 12%, transparent), 0 9px 24px color-mix(in srgb, var(--bg) 44%, transparent); gap: 11px; padding-inline: 22px; }
.youtube-launch .youtube-mark { color: var(--ink); width: 27px; height: 20px; }
.youtube-launch > span { font-size: 1rem; font-weight: 600; letter-spacing: -.035em; }
.youtube-launch::after { background: conic-gradient(from var(--edge-angle), transparent 65%, color-mix(in srgb, var(--ink) 62%, transparent) 76%, transparent 87%); }
.youtube-launch.is-visible { animation: youtube-float 6s ease-in-out infinite; }
.watch-button.youtube-launch:hover { box-shadow: inset 0 1px color-mix(in srgb, var(--muted) 15%, transparent), 0 14px 30px color-mix(in srgb, var(--bg) 48%, transparent); }
.videos-dialog { width: min(1340px, calc(100% - 48px)); padding: 34px; }
.youtube-channel-label { display: flex; align-items: center; gap: 11px; color: var(--ink); font-size: .875rem; }
.youtube-channel-label .youtube-mark { width: 24px; height: 18px; }
.videos-heading h2 { margin-top: 12px; }
.videos-layout { grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 26px; align-items: start; }
.youtube-view, .youtube-library { min-width: 0; }
.youtube-stage { box-shadow: 0 12px 25px color-mix(in srgb, var(--bg) 38%, transparent); }
.youtube-current-title { margin-top: 17px; font-size: 1rem; font-weight: 500; line-height: 1.45; }
.youtube-external { margin-top: 18px; padding: 10px 18px; min-height: 46px; }
.youtube-external .youtube-mark { width: 22px; height: 16px; }
.video-list-label { margin-bottom: 12px; color: var(--ink); font-size: .875rem; }
.video-list { max-height: min(49svh, 480px); overflow-y: auto; overscroll-behavior: contain; padding: 3px 8px 8px 3px; scrollbar-width: thin; scrollbar-color: var(--muted) transparent; }
.video-choice { gap: 12px; padding: 9px; border-radius: 13px; background: var(--bg); font-size: .875rem; transition: transform .35s var(--ease), border-color .35s, background .35s, box-shadow .35s; }
.video-choice img { width: 112px; height: 63px; border-radius: 8px; flex-shrink: 0; }
.video-choice-copy { display: flex; flex-direction: column; gap: 7px; }
.video-choice-title { font-size: .875rem; line-height: 1.4; }
.video-choice-meta { color: var(--ink); font-size: .75rem; }
.video-choice[aria-pressed=true] { border-color: var(--muted); background: var(--surface); box-shadow: inset 3px 0 var(--muted); }
.video-choice:hover { transform: translateX(3px); border-color: var(--muted); background: var(--surface); }
dialog[open] .video-choice { animation-delay: var(--item-delay, 0ms); }
.youtube-channel-link { display: inline-block; margin-top: 14px; padding-block: 4px; font-size: .875rem; text-decoration: underline; text-underline-offset: 5px; text-decoration-color: var(--muted); }
.youtube-channel-link:hover { color: var(--ink); }
dialog[open] .youtube-stage { animation: gallery-reveal .7s var(--ease) both; }

@keyframes header-ambient { to { opacity: .5; transform: translateX(6%); } }
@keyframes header-edge { to { background-position: 200% 0; } }
@keyframes media-drift { from { scale: 1; } to { scale: 1.035; } }
@keyframes period-light { to { opacity: .55; } }
@keyframes youtube-float { 50% { translate: 0 -4px; } }
@keyframes gallery-reveal { from { opacity: 0; clip-path: inset(9% 5% round 18px); scale: .96; } to { opacity: 1; clip-path: inset(0 round 16px); scale: 1; } }
@media(max-width:1100px) {
  .videos-layout { grid-template-columns: 1fr; }
  .video-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); max-height: 340px; }
  .video-choice img { width: 96px; height: 54px; }
}
@media(max-width:760px) {
  .motion-ready [data-motion='words'] .word-glyph { transition-delay: calc(min(var(--delay, 0ms), 80ms) + var(--word-delay, 0ms)); }
  .portrait-actions .watch-button.youtube-launch { padding-inline: 18px; }
  .youtube-launch > span { font-size: .9375rem; }
  .videos-dialog { width: calc(100% - 20px); padding: 25px 16px; }
  .videos-heading h2 { font-size: 30px; }
  .youtube-channel-label { max-width: 80%; font-size: .75rem; }
  .videos-layout { margin-top: 20px; gap: 22px; }
  .youtube-current-title { font-size: .875rem; margin-top: 13px; }
  .youtube-external { margin-top: 13px; font-size: .8125rem; }
  .video-list { grid-template-columns: 1fr; max-height: 270px; }
  .video-choice-title { font-size: .875rem; }
  .video-choice img { width: 100px; height: 56px; }
}
@media(prefers-reduced-motion:reduce) {
  .motion-pending .site-header [data-motion], .motion-pending .portfolio-hero [data-motion] { opacity: 1; }
  .motion-ready [data-motion], .motion-ready [data-motion='words'] .word-glyph { opacity: 1; translate: none; transform: none; filter: none; scale: 1; rotate: 0deg; clip-path: none; }
  .service-card { transform: none; }
}

.store-section, .contact-section { position: relative; isolation: isolate; overflow: clip; }
.store-section > .wrap, .contact-section > .wrap { position: relative; z-index: 1; }
.portrait-actions.hero-actions { margin-top: 24px; gap: 13px; }
.hero-actions .cq-button--lime { min-width: 165px; }
.hero-actions .youtube-launch { min-width: 148px; }
.hero-actions .youtube-launch.is-visible { animation: none; }

/* The contact illustration uses actual extruded meshes; the still uses those same meshes. */
.contact-section { padding-top: 75px; background: radial-gradient(ellipse at 74% 34%, color-mix(in srgb, var(--surface) 78%, transparent), transparent 48%), linear-gradient(145deg, color-mix(in srgb, var(--surface) 34%, var(--bg)), var(--bg) 65%, color-mix(in srgb, var(--surface) 28%, var(--bg))); }
.contact-layout { grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); }
.contact-intro { padding-block: 30px; }
.contact-intro h2 { margin-top: 21px; font-size: clamp(44px, 5vw, 80px); line-height: 1.16; }
.contact-actions { margin-top: 30px; }
.contact-actions > a { min-height: 58px; padding-inline: 25px; }
.contact-actions svg { width: 23px; height: 23px; }
.contact-actions .contact-mail svg { width: 21px; }
.contact-email { color: var(--ink); text-decoration: underline; text-underline-offset: 6px; text-decoration-color: var(--muted); }
.contact-art { min-width: 0; width: 100%; max-width: 610px; justify-self: center; }
.studio-scene { position: relative; isolation: isolate; width: 100%; }
.studio-world {
  position: relative;
  aspect-ratio: 5 / 4;
  overflow: clip;
  background: radial-gradient(ellipse at 53% 55%, var(--surface), transparent 67%);
}
.studio-scene.is-rendered .studio-world::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: '';
  background: radial-gradient(ellipse 27% 22% at var(--studio-lamp-x, 85%) var(--studio-lamp-y, 38%),
    rgb(255 218 136 / .20), rgb(255 218 136 / .07) 45%, transparent 100%);
}
.studio-world > img, .studio-world > canvas { display: block; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.studio-world > canvas, .studio-world > video { opacity: 0; }
.studio-scene.is-rendered .studio-world > img { opacity: 0; }
.studio-scene.is-rendered .studio-world > canvas,
.studio-scene.is-rendered .studio-world > video { opacity: 1; }
.studio-world > video {
  position: absolute;
  inset: 0 auto auto 0;
  display: block;
  width: 160px;
  height: 90px;
  transform-origin: 0 0;
  object-fit: contain;
  pointer-events: none;
  background: var(--bg);
}
.studio-playback {
  position: absolute;
  z-index: 2;
  inset: auto 0 18px auto;
  min-height: 39px;
  padding: 5px 12px;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: var(--bg);
  color: var(--ink);
  font-size: .75rem;
}
.studio-playback:hover { border-color: var(--lime); }
.contact-art .contact-profile { min-width: 0; width: calc(100% - 48px); margin: -14px auto 0; padding: 24px; background: color-mix(in srgb, var(--surface) 96%, transparent); box-shadow: inset 0 1px color-mix(in srgb, var(--muted) 28%, transparent), 0 20px 40px -18px color-mix(in srgb, var(--bg) 46%, transparent); }
.contact-signature { display: flex; align-items: center; gap: 13px; }
.contact-signature img { flex-shrink: 0; width: 38px; height: 38px; }
.contact-signature p { font-size: 1.125rem; font-weight: 500; line-height: 1.35; }
.contact-signature span { color: var(--ink); font-size: .8125rem; }
.contact-art .contact-links { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; padding-top: 19px; border-top: 1px solid var(--line); }
.contact-art .contact-link { display: grid; grid-template-columns: 28px 1fr; column-gap: 8px; row-gap: 1px; align-items: center; }
.contact-art .contact-link > svg { grid-row: 1/3; width: 23px; height: 23px; }
.contact-art .contact-link .youtube-mark { height: 18px; }
.contact-art .contact-link > span { font-size: .75rem; }
.contact-art .contact-link > strong { font-size: .875rem; }
.contact-section .footer { margin-top: 60px; border-top-color: var(--line); }
@media(max-width:1100px) {
  .contact-art .contact-profile { width: 100%; }
  .contact-art .contact-links { grid-template-columns: 1fr; gap: 15px; }
}
@media(max-width:760px) {
  .portrait-actions.hero-actions { gap: 10px; margin-top: 22px; }
  .hero-actions .cq-button--lime { min-width: 0; padding-inline: 17px; }
  .hero-actions .youtube-launch { min-width: 0; }
  .contact-section { padding-top: 60px; }
  .contact-layout { grid-template-columns: 1fr; gap: 10px; }
  .contact-intro { padding-block: 0; }
  .contact-intro h2 { font-size: clamp(42px, 11vw, 60px); }
  .contact-actions { gap: 10px; }
  .contact-actions > a { padding-inline: 18px; min-height: 53px; }
  .contact-art { max-width: 510px; }
  .studio-playback:not([hidden]) { position: static; display: block; margin: -5px 0 20px auto; }
  .contact-art .contact-profile { padding: 21px; margin-top: -8px; }
  .contact-art .contact-links { grid-template-columns: 1fr 1fr; gap: 15px; }
  .contact-art .contact-link { grid-template-columns: 22px 1fr; column-gap: 6px; }
  .contact-art .contact-link > svg { width: 20px; }
  .contact-art .contact-link > strong { font-size: .75rem; }
}

/* The main film has its own stage, so it stays visible beside the introduction. */
.portfolio-hero--video { padding: 0; background: var(--bg); }
.portfolio-hero--video::before { display: none; }
.hero-stage {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: clamp(490px, 47vw, 680px);
  overflow: clip;
}
.hero-stage-content { position: relative; z-index: 1; padding-block: 54px 96px; }
.hero-stage .hero-heading { max-width: min(44rem, 66vw); text-align: left; }
.hero-stage .hero-heading .eyebrow {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 17px;
  color: var(--cq-lime);
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.hero-stage .eyebrow::before { content: ''; width: 24px; height: 1px; background: currentColor; }
.hero-stage .hero-heading h1 {
  font-size: clamp(2.7rem, 5.1vw, 5.25rem);
  line-height: .99;
  letter-spacing: -.062em;
}
.hero-stage h1 > span,
.hero-stage h1 > em { display: block; }
.hero-stage h1 > em {
  font: italic 400 1.13em/.99 'Instrument Serif', Georgia, serif;
  letter-spacing: -.036em;
}
.hero-stage .hero-description {
  max-width: 40ch;
  margin: 19px 0 0;
  color: var(--ink);
  font-size: clamp(.9375rem, 1.3vw, 1.08rem);
  line-height: 1.58;
}
.hero-heading [data-gravity] { display: inline-block; }
.hero-heading .motion-word { overflow: visible; }
.hero-background {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  background: var(--bg) url('images/hero-principal-cq.webp') center / cover no-repeat;
}
.hero-background > video { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-background::after { content: ''; position: absolute; inset: 0; }
.hero-stage > .hero-background {
  filter: none;
  mask-image: linear-gradient(to bottom, transparent, #000 28px,
    #000 calc(100% - var(--cq-video-fade)), rgb(0 0 0 / .76) calc(100% - var(--cq-video-fade) * .68),
    rgb(0 0 0 / .18) calc(100% - var(--cq-video-fade) * .3), transparent calc(100% - 6px));
}
.hero-stage > .hero-background > video { filter: saturate(.7); }
.hero-stage > .hero-background::after {
  background: linear-gradient(90deg,
    rgb(7 28 60 / .91), rgb(12 43 82 / .66) 30%, rgb(24 71 119 / .3) 65%, rgb(16 52 94 / .19));
}
.hero-background-toggle {
  position: absolute;
  z-index: 7;
  left: max(20px, calc((100% - 1440px) / 2));
  bottom: 16px;
  padding: 9px 14px;
  border: 1px solid var(--cq-steel);
  border-radius: 99px;
  color: var(--ink);
  background: color-mix(in srgb, var(--bg) 91%, transparent);
  font: inherit;
  font-size: .875rem;
  transition: background .2s, border-color .2s;
}
.hero-background-toggle:hover { background: var(--surface); border-color: var(--lime); }
.hero-background-toggle:focus-visible { outline: 2px solid var(--lime); outline-offset: 4px; }
.hero-background-toggle[hidden] { display: none; }
@media (max-width: 760px) {
  .hero-stage { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto; min-height: 0; }
  .hero-stage-content { grid-area: 2 / 1; padding-block: 42px 30px; }
  .hero-stage .hero-heading { max-width: none; text-align: center; }
  .hero-stage .hero-heading .eyebrow { justify-content: center; margin-bottom: 12px; }
  .hero-stage .hero-heading h1 { font-size: clamp(2.31rem, 8.9vw, 4rem); }
  .hero-stage .hero-description { margin: 12px auto 0; }
  .hero-stage > .hero-background {
    position: relative;
    inset: auto;
    grid-area: 1 / 1;
    z-index: 0;
    width: 100%;
    aspect-ratio: 16 / 9;
  }
  .hero-stage > .hero-background::after { background: rgb(16 52 94 / .3); }
}

/* Installation stays available inside each product profile without expanding the catalog. */
.platform-picker {
  min-inline-size: 0;
  margin: 18px 0 12px;
  padding: 0;
  border: 0;
}
.platform-picker legend {
  padding: 0;
  margin-bottom: 7px;
  color: var(--ink);
  font-size: .875rem;
  font-weight: 600;
}
.platform-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.platform-options label { position: relative; }
.platform-options input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.platform-options label > span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 46px;
  padding: 7px 10px;
  border: 1px solid var(--muted);
  border-radius: 12px;
  background: var(--surface);
  color: var(--ink);
  font-size: .875rem;
  font-weight: 600;
  cursor: pointer;
}
.platform-options svg { width: 17px; height: 17px; flex: 0 0 17px; }
.platform-options input[value="windows"] + span svg { color: var(--ink); }
.platform-options label:hover > span { border-color: var(--muted); }
.platform-options input:checked + span {
  border-color: var(--muted);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--bg) 85%, transparent);
  background: var(--bg);
}
.platform-options input:focus-visible + span { outline: 2px solid var(--lime); outline-offset: 2px; }
.profile-requirements {
  margin-top: 18px;
  border-block: 1px solid var(--line);
  font-size: .875rem;
}
.profile-requirements > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 48px;
  padding-block: 10px;
  color: var(--ink);
  font-weight: 600;
  list-style: none;
  cursor: pointer;
  transition: color .2s ease;
}
.profile-requirements > summary::-webkit-details-marker { display: none; }
.profile-requirements > summary::after {
  content: '+';
  flex: none;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border: 1px solid var(--muted);
  border-radius: 50%;
  background: var(--bg);
  font-size: 20px;
  font-weight: 400;
  transition: transform .25s var(--ease), background .2s ease;
}
.profile-requirements[open] > summary::after { transform: rotate(45deg); background: var(--surface); }
.profile-requirements > summary:is(:hover, :focus-visible) { color: var(--ink); }
.profile-requirements > summary:focus-visible { outline: 2px solid var(--lime); outline-offset: 4px; }
.profile-requirements dl { display: grid; gap: 6px; padding: 2px 0 18px; margin: 0; }
.profile-requirements dt { margin-top: 8px; color: var(--ink); font-weight: 600; }
.profile-requirements dd { margin: 0; color: var(--ink); line-height: 1.6; overflow-wrap: anywhere; }
.profile-requirements code { font-size: .875em; color: var(--ink); }
.profile-requirements[open] dl { animation: dialog-item .3s var(--ease) both; }
.detail-copy .profile-note { font-size: .875rem !important; line-height: 1.6; }
@media (prefers-reduced-motion: reduce) {
  .profile-requirements[open] dl, .profile-requirements > summary::after { animation: none; transition: none; }
}
