:root {
  --ink: #111;
  --paper: #f4f2f1;
  --muted: #8e8b89;
  --line: rgba(17, 17, 17, .18);
  --pad: 14px;
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 12px; }
body { margin: 0; min-height: 100svh; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
body.page-enter { animation: page-fade-in .78s cubic-bezier(.22,.7,.2,1) both; }
@keyframes page-fade-in { from { opacity: 0; filter: blur(1.5px); } to { opacity: 1; filter: none; } }

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding: var(--pad);
  color: #fff;
  mix-blend-mode: normal;
}

.brand { font-weight: 500; letter-spacing: -.03em; white-space: nowrap; }
.site-nav { display: flex; gap: 16px; align-items: center; }
.site-nav a,
.site-nav button { position: relative; transition: opacity .62s cubic-bezier(.22,.7,.2,1); }
.site-nav:hover a:not(:hover),
.site-nav:hover button:not(:hover) { opacity: .38; }
.nav-button { border: 0; padding: 0; color: inherit; background: transparent; cursor: pointer; }
.site-nav a[aria-current="page"] { opacity: .7; }
.info-close { display: none; }
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible { outline: 1px solid currentColor; outline-offset: 3px; }

.home { height: 100svh; background: #02060b; overflow: hidden; position: relative; }
.hero-film { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.film-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.20), transparent 32%, rgba(0,0,0,.16)); pointer-events: none; }
.footer-line { position: fixed; z-index: 20; left: var(--pad); bottom: 12px; color: #fff; mix-blend-mode: difference; font-size: 9px; }

.info-panel {
  position: fixed;
  z-index: 10;
  inset: 0;
  padding: 56px var(--pad) 60px;
  color: var(--ink);
  background: linear-gradient(90deg, rgba(244,242,241,.96) 0%, rgba(244,242,241,.92) 58%, rgba(244,242,241,.88) 100%);
  backdrop-filter: saturate(.35);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .72s cubic-bezier(.22,.7,.2,1), visibility 0s linear .72s;
}
.info-panel.is-open { opacity: 1; visibility: visible; pointer-events: auto; transition-delay: 0s; }
.info-grid {
  display: grid;
  grid-template-columns: 500px minmax(200px, 240px);
  column-gap: clamp(48px, 6vw, 88px);
  width: min(100%, 1050px);
  align-items: start;
}
.info-grid p { margin: 0; line-height: 1.12; }
.info-lead { font-size: inherit; font-weight: 500; letter-spacing: -.012em; max-width: none; white-space: nowrap; }
.contact-list { display: flex; flex-direction: column; align-items: flex-start; margin-top: 18px; line-height: 1.15; }
.contact-list a,
.contact-list button { color: var(--muted); }
.contact-list a:hover,
.contact-list button:hover { color: var(--ink); }
.location { font-variant-numeric: tabular-nums; }

.info-open .site-header { color: var(--ink); mix-blend-mode: normal; transition: color .5s ease; }
.info-open .footer-line { color: var(--ink); mix-blend-mode: normal; }
.info-open .info-close { display: inline; }
.info-open [data-info-open] { opacity: .7; }

.contact-panel {
  position: fixed;
  z-index: 40;
  top: 42px;
  right: var(--pad);
  width: min(310px, calc(100vw - (var(--pad) * 2)));
  padding: 12px;
  color: #fff;
  background: rgba(5,5,5,.96);
  border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(16px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-7px);
  transition: opacity .45s cubic-bezier(.2,.65,.2,1), transform .55s cubic-bezier(.2,.65,.2,1), visibility 0s linear .55s;
}
.contact-panel.is-open { opacity: 1; visibility: visible; transform: translateY(0); transition-delay: 0s; }
.contact-head { display: flex; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.contact-close { border: 0; padding: 0; color: inherit; background: transparent; cursor: pointer; }
.contact-form { display: grid; gap: 10px; }
.contact-form label { display: grid; gap: 3px; color: rgba(255,255,255,.52); }
.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(255,255,255,.2);
  border-radius: 0;
  padding: 5px 0 7px;
  color: #fff;
  background: transparent;
  font: inherit;
  outline: none;
}
.contact-form textarea { min-height: 76px; resize: vertical; }
.contact-form input:focus,
.contact-form textarea:focus { border-color: #fff; }
.contact-submit { justify-self: start; border: 0; padding: 0; color: #fff; background: transparent; cursor: pointer; }
.contact-status { min-height: 1.2em; margin: 0; color: rgba(255,255,255,.52); }

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

@media (max-width: 760px) {
  :root { --pad: 10px; }
  html { font-size: 11px; }
  .site-header { gap: 12px; align-items: flex-start; }
  .site-nav { gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
  .hero-film { object-position: 52% center; }
  .info-panel { padding-top: 54px; background: rgba(244,242,241,.91); }
  .info-grid { grid-template-columns: 1fr; gap: 32px; }
  .info-lead { max-width: 300px; white-space: normal; }
  .contact-panel { top: 46px; }
  .footer-line { bottom: 14px; }
  .instagram-browser .footer-line { bottom: 18px; }
}

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