/* Smoked glass, chrome reflections and red illumination from the owner's reference. */
:root {
  --glass-red: 209, 6, 6;
  --glass-dark-surface: linear-gradient(180deg,
    #27282e 0%, #111217 22%, #050609 52%, #09090e 78%, #19131a 94%, #08090c 100%);
  --glass-red-surface: linear-gradient(180deg,
    #792c35 0%, #430d15 24%, #26070b 50%, #51090e 77%, #d10606 96%, #67080d 100%);
  --glass-rim: linear-gradient(145deg,
    #c6cbd6 0%, #5b5e69 9%, #22232c 24%, #10131b 49%, #581219 76%, #e39a9a 94%, #29212b 100%);
}

.site-header .wordmark,
.site-footer .wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  font-synthesis: none;
  letter-spacing: .025em;
  line-height: 1;
}
.site-header .wordmark { font-size: 2.875rem; }
.site-footer .wordmark { font-size: 2.5rem; }
.wordmark .brand-dot { margin-left: .025em; }

:is(.hero-reel, .hero-reel.secondary, .header-contact, .contact-button,
    .filters button, .filters button.active, .icon-button, .carousel-controls .icon-button,
    .project-card-play, .large-play, .site-footer>div a:last-child) {
  position: var(--glass-position, relative);
  isolation: isolate;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 999px;
  color: #fff;
  background: var(--glass-surface, var(--glass-dark-surface)) padding-box, var(--glass-rim) border-box;
  box-shadow:
    inset 0 1px 1px #ffffff52,
    inset 1px 0 2px #d6dfed24,
    inset 0 -2px 3px #b7bfd42e,
    inset 0 -5px 7px rgba(var(--glass-red), var(--glass-emission, .16)),
    0 3px 0 #030407,
    0 7px 13px #0009,
    0 5px 15px rgba(var(--glass-red), .07);
  text-shadow: 0 1px 2px #000d;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  transition: box-shadow .2s, border-color .2s, transform .18s, color .18s;
}

/* Broad top reflection, with a narrow bright edge on the upper right. */
:is(.hero-reel, .hero-reel.secondary, .header-contact, .contact-button,
    .filters button, .icon-button, .project-card-play, .large-play,
    .site-footer>div a:last-child)::before {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
  inset: 3px 7% 46%;
  border-radius: inherit;
  background: linear-gradient(180deg, #ffffff38, #ffffff09 48%, #ffffff00 100%);
  box-shadow: inset 0 1px 0 #ffffff55;
}
:is(.hero-reel, .hero-reel.secondary, .header-contact, .contact-button,
    .filters button, .icon-button, .project-card-play, .large-play,
    .site-footer>div a:last-child)::after {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
  inset: 2px;
  border-radius: inherit;
  background:
    radial-gradient(ellipse 18% 42% at 88% 4%, #fff9 0%, #e7ebf944 35%, #fff0 76%),
    radial-gradient(ellipse 40% 34% at 9% 100%, rgba(var(--glass-red), .36), #0000 85%),
    linear-gradient(180deg, #fff0 82%, #f4a5a536 97%, #fff0);
}

/* Red glass variant: a dark label area and an illuminated lower rim. */
.hero-reel.secondary,
.contact-button,
.filters button.active {
  --glass-surface: var(--glass-red-surface);
  --glass-emission: .5;
}
.filters button.active sup { color: #fff; }
.filters button sup { color: #f0d0d0; }

:is(.hero-reel, .hero-reel.secondary, .header-contact, .contact-button,
    .filters button, .filters button.active, .icon-button, .carousel-controls .icon-button,
    .project-card-play, .large-play, .site-footer>div a:last-child):hover,
.hero-play:hover .large-play,
.project-card:hover .project-card-play {
  color: #fff;
  border-color: #e8bdc355;
  background: var(--glass-surface, var(--glass-dark-surface)) padding-box, var(--glass-rim) border-box;
  box-shadow:
    inset 0 1px 2px #ffffff80,
    inset 1px 0 3px #e8f0ff38,
    inset 0 -2px 3px #f7d0d069,
    inset 0 -6px 9px rgba(var(--glass-red), .55),
    0 3px 0 #030407,
    0 9px 18px #000a,
    0 6px 22px rgba(var(--glass-red), .27);
}

:is(.hero-reel, .hero-reel.secondary, .header-contact, .contact-button,
    .filters button, .filters button.active, .icon-button, .carousel-controls .icon-button,
    .site-footer>div a:last-child):active {
  transform: translateY(2px);
  background: var(--glass-surface, var(--glass-dark-surface)) padding-box, var(--glass-rim) border-box;
  box-shadow:
    inset 0 2px 5px #000a,
    inset 0 -2px 3px #f2baba50,
    inset 0 -4px 8px rgba(var(--glass-red), .5),
    0 1px 0 #030407,
    0 3px 8px #0008;
}
.hero-play:active .large-play,
.project-card:active .project-card-play { transform: scale(.96); }

:is(.hero-reel, .hero-reel.secondary, .header-contact, .contact-button,
    .filters button, .icon-button, .site-footer>div a:last-child):focus-visible {
  outline: 2px solid #fff;
  outline-offset: 5px;
}
.hero-play:focus-visible .large-play,
.project-card:focus-visible .project-card-play {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
.filters { gap: .5rem; }
.carousel-controls { gap: .5rem; }
.large-play { padding: 0; }
.project-card-play { --glass-position: absolute; padding: 0; }
.filters button { min-width: 2.75rem; }
.site-footer>div a:last-child { width: 2.75rem; height: 2.75rem; }

@media (max-width: 760px) {
  .site-header .wordmark { font-size: 2.5rem; }
  .site-footer .wordmark { font-size: 2.375rem; }
  .filters { gap: .375rem; }
  .carousel-controls { gap: .375rem; }
}
@media (prefers-reduced-motion: reduce) {
  :is(.hero-reel, .hero-reel.secondary, .header-contact, .contact-button,
      .filters button, .icon-button, .project-card-play, .large-play,
      .site-footer>div a:last-child) { transition: none; }
}
@media (forced-colors: active) {
  :is(.hero-reel, .hero-reel.secondary, .header-contact, .contact-button,
      .filters button, .icon-button, .project-card-play, .large-play,
      .site-footer>div a:last-child) {
    border: 1px solid ButtonText;
    background: ButtonFace;
    color: ButtonText;
    box-shadow: none;
  }
  :is(.hero-reel, .hero-reel.secondary, .header-contact, .contact-button,
      .filters button, .icon-button, .project-card-play, .large-play,
      .site-footer>div a:last-child)::before,
  :is(.hero-reel, .hero-reel.secondary, .header-contact, .contact-button,
      .filters button, .icon-button, .project-card-play, .large-play,
      .site-footer>div a:last-child)::after { display: none; }
  .filters button.active { outline: 2px solid Highlight; }
}

/* INStudios hero category controls: chrome glass with a cursor-following red reflection. */
.logo-link { display: inline-flex; align-items: center; }
.brand-logo { width: clamp(112px, 13vw, 190px); height: auto; object-fit: contain; }
.service-actions { display: flex; flex-wrap: wrap; gap: 9px; max-width: min(700px, 70vw); }
.category-button {
  --mouse-x: 50%; --mouse-y: 50%; --red-state: 0;
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 47px; min-width: 95px; padding: 0 20px;
  border: 1px solid transparent; border-radius: 12px;
  transform: skewX(-11deg);
  color: #fff;
  background: linear-gradient(180deg,#27282e 0%,#17181d 42%,#08090c 100%) padding-box,
    linear-gradient(145deg,#f3f5fb 0%,#777b85 12%,#292b33 35%,#111319 65%,#d5d9e1 92%,#4d4f57 100%) border-box;
  box-shadow: inset 0 1px 1px #fff9, inset 0 -4px 7px #000b, 0 3px 0 #030407, 0 7px 14px #0009;
  transition: transform .24s ease, box-shadow .24s ease, background .24s ease;
}
.category-button span { transform: skewX(11deg); font: 700 13px/1 var(--font-display, Arial,sans-serif); letter-spacing: .055em; text-transform: uppercase; white-space: nowrap; }
.category-button::before {
  content: ""; position: absolute; z-index: -1; inset: 1px; border-radius: 10px;
  background: radial-gradient(ellipse 70% 115% at var(--mouse-x) var(--mouse-y), rgba(209,6,6,.52), transparent 72%),
    linear-gradient(163deg, #ffffff50 0%, #ffffff10 33%, transparent 46% 100%);
  box-shadow: inset 0 1px 1px #ffffff68, inset 0 -2px 2px #ffffff28;
  pointer-events: none;
}
.category-button::after {
  content: ""; position: absolute; z-index: -1; inset: 2px 2px 48%; border-radius: 9px;
  background: linear-gradient(170deg,#ffffff45,#ffffff12 45%,transparent);
  pointer-events: none;
}
.category-button:hover, .category-button:focus-visible {
  transform: skewX(-11deg) translateY(-2px);
  background: radial-gradient(ellipse 85% 130% at var(--mouse-x) var(--mouse-y),#ff2727 0%,#d10606 43%,#850707 100%) padding-box,
    linear-gradient(145deg,#fff 0%,#ffbaba 12%,#d10606 34%,#760707 70%,#fff 93%,#9b1010 100%) border-box;
  box-shadow: inset 0 1px 2px #fff9, inset 0 -5px 8px #7005, 0 4px 0 #330404, 0 9px 19px #000a, 0 5px 22px #d106065c;
}
.category-button:active { transform: skewX(-11deg) translateY(1px); }
.hero-shade {
  background: linear-gradient(90deg,rgba(2,3,5,.97) 0%,rgba(3,4,7,.85) 30%,rgba(3,4,7,.58) 55%,rgba(3,4,7,.18) 100%),
    linear-gradient(0deg,rgba(2,3,5,.98) 0%,rgba(2,3,5,.62) 29%,rgba(2,3,5,.15) 62%,rgba(2,3,5,.48) 100%);
}
.service-list details { scroll-margin-top: 105px; }
@media (max-width: 760px) {
  .brand-logo { width: 130px; }
  .service-actions { max-width: min(460px, 88vw); gap: 7px; }
  .category-button { min-height: 42px; min-width: 78px; padding: 0 14px; }
  .category-button span { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) { .category-button { transition: none; } }

/* Refined reel buttons: logo-inspired diagonal edges and polished red hover state. */
.reel-actions.brand-reels { display:flex; flex-wrap:wrap; align-items:center; gap:12px; }
.brand-reel {
  --mouse-x:50%; --mouse-y:50%;
  position:relative; isolation:isolate; overflow:hidden; display:inline-flex;
  align-items:center; justify-content:center; min-height:52px; min-width:190px;
  padding:0 27px; border:1px solid transparent; border-radius:9px;
  transform:skewX(-17deg); color:#101010;
  background:linear-gradient(180deg,#fff 0%,#f0f0f0 48%,#d9d9d9 100%) padding-box,
    linear-gradient(145deg,#fff 0%,#bcbcbc 55%,#fff 100%) border-box;
  box-shadow:inset 0 1px 2px #fff, inset 0 -2px 3px #0002, 0 3px 0 #050505,0 7px 12px #0008;
  transition:transform .2s ease,background .25s ease,box-shadow .25s ease,color .2s ease;
}
.brand-reel.secondary { min-width:255px; color:#fff; background:linear-gradient(180deg,#555 0%,#383838 55%,#262626 100%) padding-box,linear-gradient(145deg,#aaa,#303030 75%,#aaa) border-box; }
.brand-reel span { transform:skewX(17deg); font:700 17px/1 var(--font-display,Arial,sans-serif); letter-spacing:.025em; font-style:italic; white-space:nowrap; }
.brand-reel::before { content:"";position:absolute;z-index:-1;inset:1px;border-radius:7px;pointer-events:none;background:radial-gradient(ellipse 72% 140% at var(--mouse-x) var(--mouse-y),rgba(209,6,6,.58),transparent 72%),linear-gradient(165deg,#fff8 0%,#ffffff14 35%,transparent 55%);box-shadow:inset 0 1px 1px #fff8; }
.brand-reel::after { content:"";position:absolute;z-index:-1;inset:2px 2px 47%;border-radius:6px;pointer-events:none;background:linear-gradient(170deg,#fff7,transparent); }
.brand-reel:hover,.brand-reel:focus-visible { color:#fff;transform:skewX(-17deg) translateY(-2px);background:radial-gradient(ellipse 90% 135% at var(--mouse-x) var(--mouse-y),#ff3434 0%,#e00000 45%,#8b0000 100%) padding-box,linear-gradient(145deg,#fff 0%,#ffbaba 12%,#e00000 38%,#670000 72%,#fff 94%,#970000 100%) border-box;box-shadow:inset 0 1px 2px #fff9,inset 0 -4px 8px #590000a8,0 4px 0 #360000,0 9px 18px #000a,0 5px 22px #d1060666; }
.brand-reel:active { transform:skewX(-17deg) translateY(1px); }
.hero-shade { background:linear-gradient(90deg,rgba(2,3,5,.97) 0%,rgba(3,4,7,.85) 30%,rgba(3,4,7,.58) 55%,rgba(3,4,7,.18) 100%),linear-gradient(0deg,rgba(2,3,5,.98) 0%,rgba(2,3,5,.62) 29%,rgba(2,3,5,.15) 62%,rgba(2,3,5,.48) 100%); }
.studio-art { position:relative; overflow:hidden; background:linear-gradient(145deg,#320909 0%,#7a0000 50%,#d10606 100%); }
.studio-logo { position:absolute; inset:0; width:78%; height:auto; max-height:52%; margin:auto; object-fit:contain; }
.carousel-controls { gap:12px; }
.carousel-controls .icon-button { width:42px;height:42px;border:1px solid #ffffff64;border-radius:50%;background:rgba(5,6,8,.38);box-shadow:inset 0 1px #ffffff20,0 3px 9px #0008;backdrop-filter:blur(6px);color:#fff;transition:background .2s,border-color .2s,transform .2s; }
.carousel-controls .icon-button::before,.carousel-controls .icon-button::after { display:none; }
.carousel-controls .icon-button:hover { background:#d10606;border-color:#ff7777;transform:scale(1.06); }
.carousel-controls .icon-button:active { transform:scale(.96); }
#carousel-status { position:absolute; }
@media(max-width:760px) { .brand-reel { min-height:46px;min-width:150px;padding:0 20px; } .brand-reel.secondary { min-width:205px; } .brand-reel span { font-size:14px; } .studio-logo { width:82%;max-height:45%; } .carousel-controls { gap:7px; } .carousel-controls .icon-button { width:38px;height:38px; } }
@media(prefers-reduced-motion:reduce) { .brand-reel,.carousel-controls .icon-button { transition:none; } }

/* Match the supplied chrome-glass parallelograms and apply the same finish to Conversemos. */
.brand-reel {
  --mouse-x:50%; --mouse-y:50%;
  min-height:72px; min-width:270px; padding:0 36px;
  transform:skewX(-40deg); border-radius:10px;
  background:linear-gradient(180deg,#fff 0%,#f1f1f1 44%,#d5d5d5 100%) padding-box,
    linear-gradient(165deg,#fff 0%,#d9d9d9 14%,#8f8f8f 72%,#fff 96%) border-box;
  box-shadow:inset 0 2px 3px #fff, inset 0 -3px 4px #0002, 0 4px 0 #171717, 0 8px 14px #0009;
}
.brand-reel.secondary { min-width:360px; background:linear-gradient(180deg,#666 0%,#484848 38%,#303030 100%) padding-box,linear-gradient(165deg,#fff 0%,#c8c8c8 9%,#454545 44%,#d1d1d1 96%) border-box; }
.brand-reel span { transform:skewX(40deg); font:400 24px/1 var(--font-display,Arial,sans-serif); font-style:italic; letter-spacing:.025em; }
.brand-reel::before { inset:1px; border-radius:8px; background:radial-gradient(ellipse 80% 150% at var(--mouse-x) var(--mouse-y),rgba(209,6,6,.44),transparent 69%),linear-gradient(165deg,#ffffff9c 0%,#ffffff2e 28%,transparent 58%);box-shadow:inset 0 1px 2px #fff9,inset 0 -3px 4px #0003; }
.brand-reel::after { inset:2px 2px 52%; background:linear-gradient(170deg,#fff9 0%,#fff2 60%,transparent); }
.brand-reel:hover,.brand-reel:focus-visible { transform:skewX(-40deg) translateY(-2px); background:radial-gradient(ellipse 85% 145% at var(--mouse-x) var(--mouse-y),#ff3838 0%,#e00000 44%,#910000 100%) padding-box,linear-gradient(145deg,#fff 0%,#ffc5c5 11%,#d10606 38%,#690000 74%,#fff 96%,#910000 100%) border-box; box-shadow:inset 0 2px 3px #fff9,inset 0 -5px 9px #620000a8,0 4px 0 #400000,0 9px 18px #000b,0 6px 24px #d1060670; }
.brand-reel:active { transform:skewX(-40deg) translateY(1px); }
.brand-reel.secondary { color:#fff; }
.header-contact {
  --mouse-x:50%;--mouse-y:50%;
  display:inline-flex;align-items:center;justify-content:center;min-height:48px;min-width:180px;padding:0 28px;
  transform:skewX(-40deg);border:1px solid transparent;border-radius:8px;color:#fff;
  background:radial-gradient(ellipse 80% 140% at var(--mouse-x) var(--mouse-y),#777 0%,#494949 55%,#2d2d2d 100%) padding-box,linear-gradient(160deg,#fff 0%,#c9c9c9 12%,#4e4e4e 48%,#dedede 100%) border-box;
  box-shadow:inset 0 1px 2px #fff9,inset 0 -3px 5px #0007,0 3px 0 #111,0 7px 12px #0008;
  letter-spacing:.06em;text-transform:uppercase;text-shadow:0 1px 2px #0009;transition:transform .22s,background .22s,box-shadow .22s;
}
.header-contact span { transform:skewX(40deg);margin:0;font:400 17px/1 var(--font-display,Arial,sans-serif);letter-spacing:.08em; }
.header-contact::before { content:"";position:absolute;z-index:-1;inset:1px;border-radius:7px;pointer-events:none;background:radial-gradient(ellipse 85% 145% at var(--mouse-x) var(--mouse-y),rgba(209,6,6,.52),transparent 72%),linear-gradient(165deg,#fff9,transparent 50%);box-shadow:inset 0 1px 1px #fff9; }
.header-contact:hover,.header-contact:focus-visible { transform:skewX(-40deg) translateY(-2px);color:#fff;background:radial-gradient(ellipse 90% 145% at var(--mouse-x) var(--mouse-y),#ff3939 0%,#d10606 48%,#7e0000 100%) padding-box,linear-gradient(145deg,#fff 0%,#ffc0c0 12%,#d10606 40%,#6e0000 75%,#fff 95%) border-box;box-shadow:inset 0 1px 3px #fff9,inset 0 -5px 8px #620000aa,0 4px 0 #3c0000,0 9px 18px #000a,0 5px 20px #d1060666; }
.header-contact:active { transform:skewX(-40deg) translateY(1px); }
.hero-video { position:absolute;left:50%;top:50%;width:max(100vw,177.78vh);height:max(100vh,56.25vw);transform:translate(-50%,-50%);border:0;pointer-events:none; }
.hero-visual { background-color:#08090b;background-position:center;background-size:cover; }
.hero-shade { background:linear-gradient(90deg,rgba(2,3,5,.94) 0%,rgba(3,4,7,.76) 30%,rgba(3,4,7,.4) 57%,rgba(3,4,7,.12) 100%),linear-gradient(0deg,rgba(2,3,5,.96) 0%,rgba(2,3,5,.43) 30%,rgba(2,3,5,.08) 64%,rgba(2,3,5,.3) 100%); }
@media(max-width:760px) {
  .brand-reel { min-height:54px;min-width:210px;padding:0 27px; }
  .brand-reel.secondary { min-width:280px; }
  .brand-reel span { font-size:18px; }
  .header-contact { min-width:150px;min-height:42px; }
  .header-contact span { font-size:15px; }
  .hero-video { width:max(100vw,177.78vh);height:max(100vh,56.25vw); }
}
@media(prefers-reduced-motion:reduce) { .brand-reel,.header-contact { transition:none; } }

/* Smoked glass lets each project's colors show through the controls. */
:root {
  --glass-face: linear-gradient(165deg, rgb(255 255 255 / .24), rgb(255 255 255 / .08) 37%, transparent 38%), rgb(29 31 34 / .32);
  --glass-edge: inset 0 1px 1px #fffc, inset 0 -1px 2px #fff5, 0 2px 5px #0004;
}
.brand-reel, .brand-reel.secondary, .header-contact, .contact-button,
.carousel-controls .icon-button, .icon-button, .filters button, .filters button.active,
.project-card-play, .hero-play .large-play {
  background: var(--glass-face);
  color: white;
  border: 1px solid rgb(220 224 227 / .55);
  box-shadow: var(--glass-edge);
  -webkit-backdrop-filter: blur(9px);
  backdrop-filter: blur(9px);
}
.brand-reel::before, .brand-reel::after, .header-contact::before,
.hero-play .large-play::before, .hero-play .large-play::after { content: none; }
.hero-play .large-play {
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  background: radial-gradient(ellipse 65% 36% at 39% 0%, #fff4, transparent), rgb(22 25 29 / .28);
  box-shadow: inset 0 1px 1px #fffa, inset 0 -1px 2px #fff4, 0 2px 6px #0003;
}
.brand-reel:is(:hover,:focus-visible), .brand-reel.secondary:is(:hover,:focus-visible),
.header-contact:is(:hover,:focus-visible), .contact-button:hover, .filters button:is(:hover,.active),
.hero-play:is(:hover,:focus-visible) .large-play, .project-card:hover .project-card-play,
.carousel-controls .icon-button:hover, .icon-button:hover {
  background: radial-gradient(ellipse at var(--mouse-x,50%) var(--mouse-y,35%), #fb3737a6, #b607076e);
  color: white;
  border-color: #ffb3b3b3;
  box-shadow: var(--glass-edge);
}

.site-header .brand-logo {
  width: min(37.6vw, 385px);
  height: auto;
  display: block;
}
.site-header .brand-contact {
  min-width: 165px;
  min-height: 44px;
  padding: 0 24px;
}
.brand-contact span { font-size: 18px; }
.studio-art {
  aspect-ratio: 1;
  isolation: isolate;
  background: radial-gradient(ellipse at 8% 100%, #b80707, #570303 57%, #240909);
}
.studio-art .studio-logo {
  width: 100%;
  height: 100%;
  max-height: none;
  mix-blend-mode: screen;
}
#hero-play .large-play {
  border: 1px solid #ffffff50;
  background: radial-gradient(circle at 32% 24%, #ffffff12, transparent 62%), #181b2052;
  box-shadow: 0 2px 8px #0004;
}
#hero-play .large-play::before, #hero-play .large-play::after { content: none; }
#hero-play:is(:hover,:focus-visible) .large-play { background-color: #b507078c; }
.hero-visual { overflow: hidden; }
.hero-visual .hero-video { transform: translate(-50%, -50%) scale(1.16); }
@media(max-width:760px) {
  .site-header .brand-contact { display: none; }
}

@media (min-width: 761px) {
  .site-header { height: 92px; padding-inline: clamp(18px, 2vw, 32px); }
}
@media (max-width: 760px) {
  .site-header .brand-logo { width: min(63vw, 285px); }
}
