:root {
  --background: #030303;
  --text: #f5f4ef;
  --muted: #858580;
  --accent: #f2df00;
  --rule: #202020;
  --max-width: 1280px;
  --font: "Garamond Premier Pro", "Adobe Garamond Pro", Garamond, "EB Garamond", Georgia, serif;
}

* { box-sizing: border-box; }
html { background: var(--background); scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 280px;
  background: var(--background);
  color: var(--text);
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.52;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video, iframe { max-width: 100%; }
a { color: inherit; }

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 100;
  padding: .65rem .9rem;
  background: var(--accent);
  color: #000;
  transform: translateY(-200%);
}
.skip-link:focus { transform: translateY(0); }

.page { min-height: 100vh; display: flex; flex-direction: column; }
.shell { width: min(calc(100% - 48px), var(--max-width)); margin-inline: auto; }
.site-header { padding: 28px 0 10px; }
.header-inner {
  display: grid;
  grid-template-columns: minmax(240px, 320px) 1fr;
  gap: clamp(42px, 7vw, 105px);
  align-items: center;
}
.brand { display: block; width: 300px; max-width: 100%; }
.brand-media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.brand img, .brand video { display: block; width: 100%; height: 100%; object-fit: contain; }
.brand video { position: absolute; inset: 0; }
.brand.is-static video { display: none; }

.nav {
  display: flex;
  gap: clamp(30px, 3.5vw, 54px);
  align-items: center;
  font-family: var(--font);
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: .025em;
}
.nav a { text-decoration: none; padding: .75rem 0; }
.nav a:hover, .nav a:focus-visible, .nav a[aria-current="page"] { color: var(--accent); }
.nav a:focus-visible, .jas-link:focus-visible, .email-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 6px;
}

main { flex: 1; }
.intro {
  max-width: 1080px;
  margin: clamp(44px, 7vh, 72px) auto 0;
  text-align: center;
  font-size: clamp(1.12rem, 1.42vw, 1.32rem);
  font-weight: 600;
  line-height: 1.46;
}
.intro p { margin: .55rem 0; }
.home-stage { text-align: center; padding: 22px 0 58px; }
.jas-link { display: inline-block; text-decoration: none; }
.jas {
  display: block;
  width: 225px;
  max-width: 44vw;
  height: auto;
  margin: 0 auto;
  filter: drop-shadow(0 18px 28px rgba(0,0,0,.38));
  transition: transform .28s ease, filter .28s ease;
  transform-origin: 50% 80%;
}
.jas-link:hover .jas {
  animation: jas-wobble .58s ease-in-out both;
  filter: drop-shadow(0 22px 34px rgba(242,223,0,.12));
}
@keyframes jas-wobble {
  0%,100% { transform: translateY(0) rotate(0) scale(1); }
  25% { transform: translateY(-3px) rotate(-2deg) scale(1.025); }
  60% { transform: translateY(-4px) rotate(2deg) scale(1.03); }
}
.jas-copy { max-width: 790px; margin: 14px auto 0; font-weight: 600; line-height: 1.36; }
.footer { padding: 30px 0 38px; color: var(--muted); font-size: .95rem; }

.work-intro {
  max-width: 1180px;
  margin: 18px auto 56px;
  text-align: center;
  font-size: clamp(1.12rem, 1.48vw, 1.34rem);
  font-weight: 600;
  line-height: 1.48;
}
.work-intro p { margin: 0 0 27px; }
.projects { display: grid; gap: clamp(56px, 7vw, 88px); padding-bottom: 56px; }
.project { width: 100%; max-width: 1180px; margin-inline: auto; }
.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #111;
  border: 1px solid var(--rule);
  box-shadow: 0 20px 52px rgba(0,0,0,.35);
}
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.artwork { display: block; width: 100%; height: auto; border: 1px solid var(--rule); }
.work-outro { text-align: center; padding: 20px 0 72px; }
.work-outro .jas { width: 265px; }
.work-outro p {
  max-width: 990px;
  margin: 24px auto 0;
  font-size: clamp(1.12rem, 1.48vw, 1.34rem);
  font-weight: 600;
  line-height: 1.48;
}

.contact-main { padding: 52px 0 82px; }
.contact-copy {
  max-width: 1030px;
  margin-inline: auto;
  text-align: center;
  font-size: clamp(1.12rem, 1.48vw, 1.34rem);
  font-weight: 600;
}
.contact-copy p { margin: 0 0 42px; }
.email-link { display: inline-block; font-weight: 700; text-decoration: none; border-bottom: 1px solid transparent; }
.email-link:hover { color: var(--accent); border-color: var(--accent); }
.representatives {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
  max-width: 1040px;
  margin: 54px auto 0;
  text-align: center;
}
.rep h2 { margin: 0 0 8px; font-size: 1.24rem; }
.rep address { font-style: normal; line-height: 1.47; }

.error-page { display: grid; place-items: center; min-height: 75vh; text-align: center; }
.error-page .jas { width: 250px; }
.error-page h1 { margin: 1rem 0 .4rem; font-size: clamp(2rem, 5vw, 4rem); }
.error-page p { max-width: 680px; margin: .5rem auto 1.5rem; font-size: 1.2rem; }
.home-button { color: var(--accent); font-weight: 700; }

.page-enter { animation: fade-up .55s ease both; }
@keyframes fade-up { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

@media (max-width: 760px) {
  body { font-size: 16.5px; }
  .shell { width: min(calc(100% - 30px), var(--max-width)); }
  .site-header { padding-top: 18px; }
  .header-inner { grid-template-columns: 1fr; gap: 14px; justify-items: center; }
  .brand { width: 270px; }
  .nav { justify-content: center; gap: 30px; font-size: 1.06rem; }
  .intro { margin-top: 34px; }
  .jas { width: 190px; max-width: 60vw; }
  .work-intro { margin: 26px auto 42px; }
  .projects { gap: 52px; }
  .representatives { grid-template-columns: 1fr; gap: 42px; }
  .contact-main { padding-top: 36px; }
  .footer { text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
