.studio-hero {
  isolation: isolate;
  overflow: hidden;
  border-bottom: 1px solid #a1c9ee38;
  background: radial-gradient(ellipse at 87% 35%, #263653 0%, #111f37 36%, transparent 65%),
    linear-gradient(129deg, #090e18, #0a1626);
  color: #f2f7ff;
}

.studio-layout {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(24px, 5vw, 78px);
  padding-block: clamp(47px, 7.3vw, 117px);
}

.studio-intro .kicker { color: #b7eeff; }

.studio-intro h1 {
  margin: clamp(13px, 1.9vw, 26px) 0 clamp(16px, 2.2vw, 30px);
  font: 645 clamp(2.6rem, 5.2vw, 7rem)/.97 var(--sans);
  letter-spacing: -.067em;
}

.studio-intro h1 em { display: block; color: #b9efff; }

@supports (background-clip: text) {
  .studio-intro h1 em {
    background: linear-gradient(103deg, #eff9ff, #a9eaff 61%, #b8b6fb);
    background-clip: text;
    color: transparent;
  }
}

.studio-lead { max-width: 42ch; color: #d3e2f1; font-size: clamp(1.05rem, 1.58vw, 1.28rem); line-height: 1.55; }
.studio-hero .hero-actions .primary { color: #0c1925; border-color: #e1f9ff; background: linear-gradient(126deg, #f7fbff, #a3e3f5 68%, #c1befe); }
.studio-hero .hero-actions .primary:hover { background: #def6ff; }
.studio-hero .hero-actions .text-link { color: #dceaf6; }
.studio-release { margin-top: 12px; color: #bdcfe1; font-size: .9375rem; }

.studio-reference {
  display: block;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #a5ceec70;
  border-radius: 12px;
  background: #101e30;
  box-shadow: 0 23px 65px #020711a3;
  color: #eef6ff;
  text-decoration: none;
}

.studio-reference:hover { border-color: #a4efffbf; }
.studio-reference-visual {
  position: relative;
  isolation: isolate;
  display: grid;
  aspect-ratio: 1.57;
  place-items: center;
  overflow: hidden;
  background: #070d18;
}

.studio-reference-scene, .studio-reference-scene img, .studio-reference-visual::before { position: absolute; inset: 0; }
.studio-reference-scene { z-index: -2; }
.studio-reference-scene img { width: 100%; height: 100%; object-fit: cover; object-position: 70% center; }
.studio-reference-visual::before {
  content: "";
  z-index: -1;
  background: linear-gradient(90deg, #060d18ec, #060d1836 78%), linear-gradient(0deg, #060d18aa, transparent 56%);
}

.studio-reference-mark {
  display: block;
  width: min(81%, 525px);
  mix-blend-mode: screen;
  mask-image: radial-gradient(ellipse 81% 75% at 50% 49%, #000 73%, transparent 100%);
}
.studio-reference-mark img { width: 100%; height: auto; }

.studio-reference-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 20px;
  padding: clamp(12px, 1.65vw, 23px);
  border-top: 1px solid #a5ceec45;
  background: linear-gradient(135deg, #192e45, #111e30);
}

.studio-reference-caption strong, .studio-reference-caption small { display: block; }
.studio-reference-caption strong { font-size: clamp(1.03rem, 1.5vw, 1.26rem); font-weight: 680; }
.studio-reference-caption small { color: #bfd1e1; font-size: .9rem; }
.studio-reference-open { color: #d5f1fc; text-decoration: underline; text-underline-offset: .27em; font-size: .93rem; }
.studio-reference:hover .studio-reference-open { color: #a4efff; }

.webdesign-page .benefits-heading h2 em { white-space: normal; }
.webdesign-page .service-overview .service-grid-photos .service-card:first-child img { object-position: 50% 62%; }
.studio-project-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 9px;
  color: #1d577b;
  font-weight: 680;
  text-underline-offset: .24em;
}
.studio-project-link:hover { color: #103650; }

.studio-inquiry-fields { display: grid; gap: 7px; margin-top: 20px; }
.studio-inquiry-fields label { font-size: .99rem; font-weight: 660; }
.studio-inquiry-fields label:not(:first-child) { margin-top: 7px; }
.studio-inquiry-fields select, .studio-inquiry-fields textarea {
  width: 100%;
  min-height: 44px;
  padding: 9px 11px;
  border: 1px solid #56748d8c;
  border-radius: 6px;
  background: #fdfefe;
  color: #14283a;
  font: inherit;
}
.studio-inquiry-fields select:focus, .studio-inquiry-fields textarea:focus { outline: 2px solid #28658d; outline-offset: 2px; }
.studio-inquiry-fields textarea { resize: vertical; }
.studio-inquiry-fields textarea::placeholder { color: #4c6578; opacity: 1; }
.studio-draft-hint { margin-top: 7px; color: #4b6175; font-size: .9rem; }

.film-text { max-width: 62ch; margin: 15px 0 0; color: #d6e0e9; font-size: .9375rem; }
.film-text summary { width: fit-content; cursor: pointer; }
.film-text p { margin-top: .55rem; }

@media (max-width: 820px) {
  .studio-layout { grid-template-columns: minmax(0, 1fr); gap: clamp(26px, 5vw, 43px); }
  .studio-intro h1 { font-size: clamp(2.85rem, 7.6vw, 5.5rem); }
  .studio-reference { max-width: 700px; }
}

@media (max-width: 520px) {
  .studio-layout { padding-block: 38px 44px; }
  .studio-intro h1 { font-size: clamp(2.43rem, 8.9vw, 3.61rem); }
  .studio-reference-mark { width: 87%; }
  .studio-hero .hero-actions { gap: 8px 17px; }
  .studio-hero .hero-actions .primary { padding-inline: 1rem; }
}

@media (max-width: 360px) {
  .webdesign-page .head-inner { gap: 7px; }
  .webdesign-page .masthead .wordmark { gap: 6px; white-space: nowrap; }
  .webdesign-page .masthead .wordmark span { padding-inline-start: 6px; letter-spacing: 0; }
}

@media (prefers-reduced-motion: no-preference) {
  .studio-intro h1, .studio-reference { animation: nwo-section-in .9s cubic-bezier(.16, 1, .32, 1) both; }
}
