@font-face {
  font-family: Instrument Sans;
  src: url("assets/instrument-sans.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

@font-face {
  font-family: Instrument Serif;
  src: url("assets/instrument-serif.woff2") format("woff2");
  font-display: swap;
}

:root {
  --paper: #f3efe5;
  --ink: #151624;
  --muted: #53535e;
  --red: #dc422c;
  --red-ink: #a3281a;
  --night: #10111f;
  --cream: #f9f2e6;
  --rule: #d7d1c4;
  --gutter: clamp(22px, 5.4vw, 90px);
  --sans: "Instrument Sans", Arial, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 400 16px/1.5 var(--sans); }
h1, h2, h3, p { margin: 0; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .24em; }
button { color: inherit; font: inherit; }
img { display: block; max-width: 100%; }
button:focus-visible, a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 5px;
}
[hidden] { display: none !important; }
:where(section, article, h3)[id] { scroll-margin-top: 24px; }

.wrap { max-width: 1600px; margin-inline: auto; padding-inline: var(--gutter); }
.section-pad { padding-block: clamp(65px, 8vw, 132px); }
.skip-link {
  position: fixed;
  inset: 12px auto auto 12px;
  z-index: 10;
  padding: 10px 16px;
  background: var(--paper);
  color: var(--ink);
  transform: translateY(-150%);
}
.skip-link:focus { transform: none; }

.masthead {
  position: absolute;
  z-index: 2;
  inset: 0 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  min-height: 100px;
  color: var(--cream);
}
.brand-lockup {
  --brand-height: clamp(13px, 1.1vw, 15px);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-block: 8px;
}
.brand-lockup img {
  width: auto;
  height: var(--brand-height);
  filter: brightness(0) invert(1);
}
.brand-icon {
  height: var(--brand-height);
  aspect-ratio: 640 / 551;
  background: url("assets/endveil-mark.png") center / auto 146% no-repeat;
}
.navigation { display: flex; align-items: center; gap: clamp(30px, 6vw, 104px); }
.nav-group { display: flex; align-items: center; gap: clamp(18px, 3vw, 50px); }
.navigation a { font-size: 15px; font-weight: 600; white-space: nowrap; text-decoration: none; padding-block: 10px; }
.navigation a:hover, .hero-link:hover { text-decoration: underline; }
.navigation span { margin-inline-start: .22em; }

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  min-height: 100svh;
  overflow: hidden;
  padding: 115px var(--gutter) 115px;
  text-align: center;
  background: #0b0c15;
  color: var(--cream);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 54% 49% at 50% 48%, #0a0a16a8, #090a1300 86%),
    linear-gradient(180deg, #080912d4, transparent 25%, transparent 72%, #080913d1);
}
.hero-image, .hero-light, .hero-grain { position: absolute; inset: 0; z-index: -2; pointer-events: none; }
/* filmstrip-hero.jpg was generated with built-in ImageGen using this prompt:
 *
 * Photorealistic macro photograph for the full-screen opening of an independent film and sound
 * studio website. A real single dark translucent 35mm celluloid filmstrip sweeps across the frame
 * in a large almost sculptural spiral, from the lower left edge up near the upper right and
 * wrapping back across the bottom right. Beautiful diagonal foreshortening and recognizable
 * sprocket holes catching warm vermilion and red-orange backlight at the outer edges. Slightly
 * textured celluloid, extremely deep midnight indigo shadows, faint cool-blue light in the upper
 * left, one warm edge highlight near the lower right. Sophisticated cinematic production ident,
 * deep blacks, very restrained lighting, subtle lens falloff and authentic fine grain. Leave the
 * center of the image relatively dark and open so a real logo and cream text can be overlaid there
 * in the website. Fill the edges, including the left and right edges, with interesting
 * out-of-focus film texture and red-orange highlights. Wide landscape 16:9 composition. No text,
 * lettering, logo, numbers, border, watermark, people, or unrelated objects.
 */
.hero-image {
  background: #100d1b url("assets/filmstrip-hero.jpg") center 50% / cover no-repeat;
  transform: scale(1.015);
}
.hero-light {
  opacity: .35;
  background: radial-gradient(ellipse 42% 36% at 63% 62%, #d13b2566, transparent 75%);
  mix-blend-mode: screen;
}
.hero-grain {
  background: repeating-linear-gradient(0deg, #09091638 0, transparent 1px 4px);
  opacity: .22;
}
.hero-center {
  --ident-wordmark-width: clamp(232px, 32vw, 404px);
  width: 100%;
  max-width: 780px;
  position: relative;
}
.brand-reveal {
  position: relative;
  margin: 0 auto clamp(-19px, -1.15vw, -8px);
  width: calc(var(--ident-wordmark-width) * .725);
  aspect-ratio: 1;
  filter: drop-shadow(0 10px 32px #dc432948);
}
.mark-strip { position: absolute; inset: 0; width: 100%; height: 100%; }
.mark-top { clip-path: inset(0 0 58.5% 0); --slide: 18%; --tilt: -20deg; }
.mark-middle { clip-path: inset(41.45% 0 31% 0); --slide: -19%; --tilt: 22deg; }
.mark-bottom { clip-path: inset(68.95% 0 0 0); --slide: 15%; --tilt: -16deg; }
.hero h1 {
  width: var(--ident-wordmark-width);
  max-width: 100%;
  margin-inline: auto;
}
.hero h1 img { width: 100%; height: auto; }
.hero-center p {
  margin-top: clamp(16px, 2.1vw, 30px);
  font-size: clamp(17px, 2.2vw, 30px);
  letter-spacing: -.025em;
  color: #f4ecdf;
}
.hero-bottom {
  position: absolute;
  inset: auto 0 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 88px;
}
.hero-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 0;
  padding: 10px 0;
  background: none;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  cursor: pointer;
}
.hero-link span { font-size: 19px; line-height: 1; }
.replay { justify-content: center; width: 44px; height: 44px; padding: 0; }
.replay span { font-size: 24px; }

.hero.is-playing .hero-image { animation: film-drift 4.25s cubic-bezier(.19,.72,.2,1) both; }
.hero.is-playing .hero-light { animation: light-travel 3.6s ease-out both; }
.hero.is-playing .mark-strip { animation: fold-in 1.45s cubic-bezier(.2,.73,.2,1) both; }
.hero.is-playing .mark-top { animation-delay: .46s; }
.hero.is-playing .mark-middle { animation-delay: .72s; }
.hero.is-playing .mark-bottom { animation-delay: .98s; }
.hero.is-playing h1, .hero.is-playing .hero-center p { animation: type-settle 1.05s .94s ease-out both; }
.hero.is-playing .hero-center p { animation-delay: 1.25s; }

@keyframes film-drift {
  from { transform: scale(1.27) translate3d(3.8%, -2.6%, 0) rotate(-2.3deg); filter: brightness(.8); }
  to { transform: scale(1.015); filter: brightness(1); }
}
@keyframes light-travel {
  0% { opacity: .1; transform: translateX(-37%); }
  34% { opacity: .76; }
  100% { opacity: .35; transform: none; }
}
@keyframes fold-in {
  0% { opacity: 0; transform: perspective(460px) translateX(var(--slide)) rotateY(var(--tilt)) scale(.92); filter: brightness(1.2); }
  50% { opacity: .96; filter: brightness(1.38); }
  100% { opacity: 1; transform: none; filter: none; }
}
@keyframes type-settle {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, .75fr);
  align-items: end;
  gap: clamp(20px, 5vw, 85px);
  margin-bottom: clamp(36px, 4.2vw, 68px);
}
.section-head h2, .studio h2, .contact h2 {
  font: 400 clamp(50px, 7vw, 108px)/.9 var(--serif);
  letter-spacing: -.035em;
}
.section-head p, .studio-copy p {
  max-width: 34ch;
  font-size: clamp(17px, 1.65vw, 22px);
  line-height: 1.45;
  color: var(--muted);
}

.work-grid, .process-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(22px, 3.1vw, 54px); }
.project { display: flex; flex-direction: column; border-bottom: 1px solid var(--rule); padding-bottom: 24px; }
.project-art {
  position: relative;
  display: grid;
  aspect-ratio: 1.46;
  overflow: hidden;
  background: #161628;
  isolation: isolate;
}
.project-art img { height: 100%; width: 100%; object-fit: cover; min-height: 0; }
.film-art { grid-template-columns: .85fr 1.15fr; gap: 2px; }
.film-art img:first-child { object-position: center 41%; }
.film-art img:nth-child(2) { object-position: center 26%; }
.album-art { place-items: center; background: radial-gradient(ellipse, #181d33, #0b0f21 89%); }
.album-art img {
  position: absolute;
  inset: 0;
  width: auto;
  height: 100%;
  margin-inline: auto;
  object-fit: contain;
  box-shadow: 0 0 24px #070a1796;
}
.project-type {
  margin-block: 24px 10px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .115em;
  color: var(--red-ink);
}
.project h3, .process h3 {
  font: 400 clamp(34px, 4vw, 64px)/.95 var(--serif);
  letter-spacing: -.022em;
}
.project p, .process-card p { max-width: 53ch; margin-top: 12px; font-size: clamp(16px, 1.4vw, 19px); }
.project p { color: var(--muted); }
.project-links { display: flex; flex-wrap: wrap; gap: 10px 25px; margin-top: auto; padding-top: 23px; }
.project-links a { font-weight: 650; }
.project-links span { margin-left: .24em; }

.process { background: var(--night); color: var(--cream); }
.process .section-head p, .process-card p { color: #c7c3ca; }
.process-media {
  width: 100%;
  aspect-ratio: 2.6;
  margin-bottom: 26px;
  overflow: hidden;
  background: #171a2a;
}
.contact-sheet { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; }
.contact-sheet img { width: 100%; height: 100%; min-height: 0; object-fit: cover; object-position: center 29%; }
.contact-sheet img:first-child { object-position: center 40%; }
.waveform {
  position: relative;
  border: 1px solid #373847;
  background: radial-gradient(ellipse at 33% 45%, #252637, #171a2a 65%);
}
.waveform canvas { display: block; width: 100%; height: 100%; }
.wave-label { position: absolute; inset: auto auto 12px 14px; color: #e8dfd9; font-size: 12px; font-weight: 600; }
.wave-label span { margin-inline: .22em; color: #f57462; }

.release-note {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 4.4vw, 70px);
  margin-top: clamp(52px, 7vw, 105px);
  padding-top: clamp(34px, 4.3vw, 62px);
  border-top: 1px solid #3c3b49;
}
.release-note h3 { font-size: clamp(33px, 4vw, 54px); }
.release-note p { margin-top: 12px; max-width: 44ch; color: #c7c3ca; }
.release-links, .footer-links ul { margin: 0; padding: 0; list-style: none; }
.release-links li + li { border-top: 1px solid #3c3b49; }
.release-links a {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 3px 20px;
  padding-block: 14px;
  font-weight: 650;
  text-decoration: none;
}
.release-links a:hover > span:first-child { text-decoration: underline; }
.release-links a > span:last-child { font-size: 13px; font-weight: 400; color: #c7c3ca; }
.release-links a > span:last-child span { margin-left: .3em; color: var(--cream); }

.section-kicker {
  margin-bottom: 23px;
  color: var(--red-ink);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .105em;
  text-transform: uppercase;
}
.studio-content, .contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .8fr);
  gap: clamp(30px, 7vw, 118px);
  align-items: start;
}
.studio h2, .contact h2 { max-width: 12ch; font-size: clamp(48px, 6.7vw, 96px); }
.studio-copy { display: grid; gap: 17px; align-self: center; }
.studio-copy p { max-width: 40ch; }
.studio-copy a { justify-self: start; font-weight: 650; }

.contact { padding-block: clamp(57px, 7vw, 108px); background: #ece1d5; }
.contact-email {
  display: inline-block;
  margin-top: 25px;
  font-size: clamp(17px, 1.8vw, 25px);
  font-weight: 650;
  color: var(--red-ink);
}
.contact-enquiries { display: grid; gap: 18px; margin: 0; align-self: end; }
.contact-enquiries div { padding-top: 16px; border-top: 1px solid #cdbfb2; }
.contact-enquiries dt { font-weight: 700; }
.contact-enquiries dd { margin: 5px 0 0; max-width: 42ch; color: var(--muted); }

.footer {
  background: var(--night);
  color: var(--cream);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr .75fr 1fr minmax(224px, 1fr);
  gap: clamp(22px, 4vw, 62px);
  padding-block: clamp(43px, 6vw, 88px) clamp(32px, 5vw, 66px);
}
.footer-brand .brand-lockup { --brand-height: 21px; }
.footer-brand p { margin-top: 8px; color: #c7c3ca; }
.footer-links h2 {
  margin-bottom: 12px;
  color: #c7c3ca;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.footer-links li + li { margin-top: 6px; }
.footer a { text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.social-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.social-logos li + li { margin: 0; }
.social-logos a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid #4c4a57;
  border-radius: 50%;
  color: var(--cream);
}
.social-logos a:hover { background: var(--cream); color: var(--night); }
.social-logos svg { display: block; fill: currentColor; }
@media (pointer: coarse) {
  .social-logos a { width: 44px; height: 44px; }
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px 24px;
  padding-block: 19px 24px;
  border-top: 1px solid #3c3b49;
  color: #c7c3ca;
  font-size: 13px;
}
.footer-bottom small { font-size: inherit; }
.footer-policies { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer-policies [aria-current="page"] { color: var(--cream); text-decoration: underline; }

.policy-header {
  background: var(--night);
  color: var(--cream);
}
.policy-header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 75px;
  gap: 15px;
}
.policy-home { font-size: 14px; font-weight: 650; text-decoration: none; }
.policy-home:hover { text-decoration: underline; }
.policy-home span { margin-right: .35em; }
.policy-intro {
  padding-block: clamp(54px, 7.4vw, 112px) clamp(34px, 5vw, 76px);
  border-bottom: 1px solid var(--rule);
}
.policy-intro .section-kicker { margin-bottom: 15px; }
.policy-intro h1 {
  font: 400 clamp(51px, 8vw, 112px)/.94 var(--serif);
  letter-spacing: -.035em;
}
.policy-intro > p:last-child {
  max-width: 46ch;
  margin-top: clamp(16px, 2.1vw, 27px);
  color: var(--muted);
  font-size: clamp(17px, 1.6vw, 22px);
}
.policy-layout {
  display: grid;
  grid-template-columns: minmax(155px, 245px) minmax(0, 710px);
  gap: clamp(30px, 6.5vw, 105px);
  align-items: start;
  padding-block: clamp(30px, 5.3vw, 80px) clamp(56px, 7vw, 105px);
}
.policy-contents { position: sticky; top: 28px; }
.policy-contents h2 {
  margin-bottom: 10px;
  color: var(--red-ink);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.policy-contents ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.policy-contents li + li { margin-top: 4px; }
.policy-contents a {
  display: inline-block;
  padding-block: 3px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}
.policy-contents a:hover { text-decoration: underline; }
.policy-copy section { padding-bottom: 26px; border-bottom: 1px solid var(--rule); }
.policy-copy section + section { padding-top: 27px; }
.policy-copy h2 { margin-bottom: 12px; font: 400 clamp(29px, 3.2vw, 46px)/1 var(--serif); }
.policy-copy p { max-width: 65ch; color: var(--muted); font-size: clamp(16px, 1.35vw, 19px); line-height: 1.62; }
.policy-copy p + p { margin-top: 12px; }
.policy-copy a { color: var(--red-ink); font-weight: 650; }

@media (max-width: 840px) {
  .footer-grid { grid-template-columns: 1fr 1fr; row-gap: 30px; }
}

@media (max-width: 740px) {
  .masthead { min-height: 0; padding-top: 21px; gap: 8px 16px; flex-wrap: wrap; }
  .navigation { gap: 16px; }
  .nav-group { gap: 16px; }
  .navigation a { font-size: 13px; }
  .hero { padding-block: 125px 100px; }
  .hero-bottom { min-height: 69px; }
  .hero-image { background-position: 52% center; }
  .section-head { grid-template-columns: 1fr; gap: 17px; align-items: start; }
  .policy-layout { grid-template-columns: minmax(0, 1fr); gap: 29px; }
  .policy-contents { position: static; padding-bottom: 22px; border-bottom: 1px solid var(--rule); }
  .policy-contents ul { display: flex; flex-wrap: wrap; gap: 4px 20px; }
  .policy-contents li + li { margin: 0; }
}

@media (max-width: 600px) {
  .footer-brand, .footer-social { grid-column: 1 / -1; }
}

@media (max-width: 540px) {
  .masthead { justify-content: flex-start; }
  .navigation { width: 100%; justify-content: space-between; }
  .hero-link { font-size: 13px; }
  .work-grid, .process-grid { grid-template-columns: 1fr; row-gap: 44px; }
  .studio-content, .contact-grid, .release-note { grid-template-columns: 1fr; }
  .project-art { aspect-ratio: 1.33; }
  .section-head h2 { font-size: clamp(49px, 12vw, 70px); }
  .project-type { margin-top: 18px; }
  .process-media { margin-bottom: 19px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
