:root {
  --black: #050505;
  --white: #f7f7f5;
  --soft-white: rgba(247, 247, 245, 0.72);
  --line: rgba(247, 247, 245, 0.28);
  --acid-lime: #c7ff00;
  --mx: 0px;
  --my: 0px;
}

* { box-sizing: border-box; }

html,
body {
  width: 100%;
  min-width: 320px;
  min-height: 100%;
  margin: 0;
  overflow: hidden;
  background: var(--black);
  color: var(--white);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; font: inherit; }

.skip-link {
  position: fixed;
  z-index: 100;
  top: 8px;
  left: 8px;
  padding: 10px 13px;
  transform: translateY(-160%);
  background: var(--white);
  color: var(--black);
  font-size: 12px;
  font-weight: 700;
}

.skip-link:focus { transform: translateY(0); }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero {
  position: relative;
  isolation: isolate;
  width: 100%;
  height: 100dvh;
  min-height: 560px;
  overflow: hidden;
  background: var(--black);
}

.photo-shell,
.hero-photo,
.left-scrim,
.bottom-scrim,
.grain { position: absolute; inset: 0; }

.photo-shell {
  z-index: -5;
  overflow: hidden;
  transform-origin: center bottom;
  animation: slow-push 18s ease-in-out infinite alternate;
}

.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 86%;
  filter: contrast(1.04) brightness(0.92);
  transform-origin: center bottom;
  transform: scale(1.055) translate3d(var(--mx), var(--my), 0);
  transition: transform 900ms cubic-bezier(.2,.8,.2,1);
}

.left-scrim {
  z-index: -4;
  background: linear-gradient(90deg, rgba(0,0,0,.62) 0, rgba(0,0,0,.22) 35%, transparent 63%);
}

.bottom-scrim {
  z-index: -3;
  background: linear-gradient(0deg, rgba(0,0,0,.55) 0, transparent 34%);
}

.hero::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 0 0 auto auto;
  width: min(900px, 100%);
  height: 190px;
  pointer-events: none;
  background: radial-gradient(ellipse at 70% 0%, rgba(0,0,0,.58) 0, rgba(0,0,0,.3) 48%, transparent 82%);
}

.grain {
  z-index: 20;
  pointer-events: none;
  opacity: .105;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.92' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.84'/%3E%3C/svg%3E");
  animation: grain-shift .26s steps(2) infinite;
}

.utility-nav {
  position: absolute;
  z-index: 30;
  top: clamp(18px, 2.8vw, 42px);
  right: clamp(18px, 3vw, 48px);
  display: flex;
  gap: 24px;
  align-items: center;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 8px 0;
  cursor: pointer;
  border: 0;
  border-bottom: 1px solid transparent;
  background: transparent;
  color: var(--white);
  font: 600 10px/1 "Courier New", Courier, monospace;
  letter-spacing: .1em;
  text-decoration: none;
  text-shadow: 0 1px 8px rgba(0,0,0,.7);
  transition: border-color 160ms ease, opacity 160ms ease;
}

.nav-link:hover,
.nav-link:focus-visible { border-color: currentColor; outline: none; }
.nav-link > span[aria-hidden="true"] { font-size: 15px; font-weight: 300; }

.brand {
  position: absolute;
  z-index: 5;
  left: clamp(24px, 3.25vw, 62px);
  bottom: 23vh;
  width: min(39.5vw, 720px);
}

.brand-logo {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 3px 18px rgba(0,0,0,.3));
}

.tagline {
  position: absolute;
  z-index: 5;
  left: clamp(25px, 3.3vw, 63px);
  bottom: 8.7vh;
  margin: 0;
  color: rgba(255,255,255,.88);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: clamp(14px, 1.42vw, 25px);
  font-weight: 300;
  line-height: 1.36;
  letter-spacing: -.035em;
  text-shadow: 0 2px 18px rgba(0,0,0,.55);
  animation: reveal-copy 800ms ease-out 380ms both;
}

.motion-toggle {
  position: absolute;
  z-index: 30;
  right: clamp(18px, 3vw, 48px);
  bottom: clamp(20px, 3vw, 44px);
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 7px 0;
  cursor: pointer;
  border: 0;
  background: transparent;
  color: rgba(255,255,255,.72);
  font: 600 9px/1 "Courier New", Courier, monospace;
  letter-spacing: .11em;
}

.service-panel {
  width: min(720px, 58vw);
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0 0 0 auto;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-left: 1px solid rgba(255,255,255,.35);
  background: rgba(6,6,6,.94);
  color: var(--white);
  box-shadow: -30px 0 100px rgba(0,0,0,.55);
  backdrop-filter: blur(18px);
}

.service-panel::backdrop { background: rgba(0,0,0,.34); backdrop-filter: blur(2px); }
.service-panel[open] { animation: panel-in 300ms cubic-bezier(.2,.8,.2,1) both; }

.panel-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow-y: auto;
}

.panel-header {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  padding: 0 clamp(22px, 3.3vw, 48px);
  border-bottom: 1px solid var(--line);
}

.panel-header p { font-family: "Courier New", Courier, monospace; }

.panel-header p {
  margin: 0;
  color: var(--acid-lime);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .12em;
}

.close-services,
.close-contact,
.close-notes,
.close-regulars {
  padding: 6px;
  cursor: pointer;
  border: 0;
  background: transparent;
  color: var(--acid-lime);
  font-size: 30px;
  font-weight: 200;
  line-height: 1;
}

.panel-intro {
  padding: clamp(30px, 4.6vh, 62px) clamp(22px, 3.3vw, 48px) clamp(24px, 3.3vh, 44px);
  border-bottom: 1px solid var(--line);
}

.panel-intro h2 {
  margin: 0;
  font-size: clamp(48px, 6vw, 92px);
  font-weight: 800;
  line-height: .78;
  letter-spacing: -.07em;
}

.services-intro {
  padding-bottom: clamp(28px, 4vh, 48px);
}

.services-intro h2 {
  font-size: clamp(58px, 6vw, 88px);
}

.service-note {
  margin: clamp(20px, 2.8vh, 32px) 0 0;
  color: var(--soft-white);
  font: 700 10px/1.4 "Courier New", Courier, monospace;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.service-menu {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 88px;
  flex: 0 0 auto;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-menu li {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  height: 88px;
  padding: 13px clamp(20px, 2.6vw, 38px);
  border-bottom: 1px solid var(--line);
  font-size: clamp(13px, 1.15vw, 18px);
  font-weight: 650;
  line-height: 1.16;
  letter-spacing: -.035em;
  text-transform: uppercase;
  white-space: nowrap;
}

.service-line { display: block; }

.service-menu li:nth-child(odd) {
  border-right: 1px solid var(--line);
}

.menu-about {
  padding: clamp(28px, 4vw, 48px) clamp(22px, 3.3vw, 48px);
}

.menu-about h3 {
  margin: 0 0 16px;
  color: var(--acid-lime);
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -.025em;
}

.menu-about p {
  max-width: 60ch;
  margin: 0;
  color: rgba(255,255,255,.88);
  font-size: clamp(16px, 1.5vw, 20px);
  font-weight: 300;
  line-height: 1.6;
}

.service-panel[open] .service-menu {
  animation: menu-in 420ms cubic-bezier(.2,.8,.2,1) 90ms both;
}

.panel-footer {
  display: flex;
  justify-content: flex-end;
  align-items: end;
  margin-top: auto;
  padding: clamp(24px, 4vh, 44px) clamp(22px, 3.3vw, 48px);
}

.panel-action {
  display: flex;
  gap: 28px;
  align-items: center;
  padding-bottom: 8px;
  cursor: pointer;
  border: 0;
  border-bottom: 1px solid var(--white);
  background: transparent;
  color: var(--white);
  font: 700 10px/1 "Courier New", Courier, monospace;
  letter-spacing: .08em;
  text-decoration: none;
}

.contact-panel { width: min(660px, 55vw); }

.contact-intro { padding-bottom: clamp(18px, 2.4vh, 28px); }

.contact-intro h2 { font-size: clamp(54px, 5.6vw, 84px); }

.regulars-panel { width: min(620px, 52vw); }

.notes-panel { width: min(720px, 58vw); }

.notes-intro h2 {
  font-size: clamp(58px, 6vw, 88px);
}

.notes-copy {
  max-width: 430px;
  margin: 0;
  color: var(--soft-white);
  font: 400 11px/1.5 "Courier New", Courier, monospace;
  letter-spacing: .04em;
}

.notes-list {
  display: flex;
  flex: 1 0 auto;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: clamp(32px, 5vh, 52px);
  min-height: 280px;
  padding: clamp(32px, 5vh, 56px) clamp(22px, 3.3vw, 48px);
}

.notes-index { width: 100%; }

.short-note[hidden], .next-thought[hidden] { display: none; }

.notes-controls {
  display: flex;
  width: 100%;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.notes-controls .panel-action {
  font-size: 10px;
  letter-spacing: .06em;
}

.short-note {
  max-width: 530px;
  padding: 0 0 clamp(32px, 5vh, 56px);
  border-bottom: 1px solid var(--line);
}

.short-note + .short-note { padding-top: clamp(32px, 5vh, 56px); }

.notes-index .short-note { padding-top: 0; }

.poster-note { max-width: none; }

.note-emphasis { color: var(--acid-lime); }

.short-note.poster-note h3 {
  max-width: none;
  margin: 0;
  font-size: clamp(36px, 4.8vw, 68px);
  font-weight: 800;
  line-height: .98;
  letter-spacing: -.055em;
}

.short-note h3 {
  max-width: 24ch;
  margin: 0 0 24px;
  color: var(--white);
  font-size: clamp(23px, 2.2vw, 30px);
  font-weight: 650;
  line-height: 1.15;
  letter-spacing: -.035em;
  text-wrap: balance;
}

.short-note p {
  max-width: 37ch;
  margin: 0;
  color: rgba(255,255,255,.88);
  font-size: clamp(18px, 1.65vw, 23px);
  font-weight: 300;
  line-height: 1.5;
  letter-spacing: -.015em;
}

.short-note p + p { margin-top: 18px; }

.note-artwork {
  width: min(100%, 420px);
  margin: 0 0 28px;
}

.note-artwork figcaption {
  margin-top: 10px;
  color: var(--acid-lime);
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: .015em;
}

.note-image {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
}

.note-link {
  display: flex;
  width: 100%;
  gap: 24px;
  align-items: flex-start;
  justify-content: space-between;
  padding: 0 0 18px;
  border-bottom: 1px solid var(--line);
  color: var(--white);
  font-size: clamp(24px, 3vw, 42px);
  font-weight: 750;
  line-height: .96;
  letter-spacing: -.055em;
  text-decoration: none;
}

.note-link span:last-child {
  flex: 0 0 auto;
  color: var(--acid-lime);
  font-family: "Courier New", Courier, monospace;
  font-size: .62em;
  font-weight: 400;
  line-height: 1;
}

.note-link:hover,
.note-link:focus-visible { color: var(--acid-lime); }

.note-link + .note-link { padding-top: 22px; }

.note-link-pending { cursor: default; }

.notes-list .panel-action { align-self: flex-end; }

.note-page {
  min-height: 100%;
  overflow: auto;
}

.note-page main {
  display: flex;
  min-height: 100dvh;
  flex-direction: column;
  padding: clamp(22px, 3vw, 48px);
}

.note-page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.note-page-header p,
.note-page-status {
  margin: 0;
  color: var(--acid-lime);
  font: 700 10px/1.4 "Courier New", Courier, monospace;
  letter-spacing: .12em;
}

.note-page-close {
  color: var(--acid-lime);
  font-size: 30px;
  font-weight: 200;
  line-height: 1;
  text-decoration: none;
}

.note-page-title {
  max-width: 1100px;
  margin: clamp(72px, 12vh, 140px) 0 clamp(50px, 8vh, 88px);
  font-size: clamp(62px, 10.5vw, 164px);
  font-weight: 800;
  line-height: .78;
  letter-spacing: -.075em;
  text-transform: uppercase;
}

.note-page-content {
  width: min(100%, 780px);
  margin: 0 0 clamp(80px, 14vh, 170px) auto;
  font-size: clamp(18px, 1.7vw, 25px);
  font-weight: 350;
  line-height: 1.42;
  letter-spacing: -.025em;
}

.note-page-content p { margin: 0 0 1.45em; }

.note-page-ending {
  padding-top: clamp(18px, 3vh, 36px);
  font-weight: 650;
}

@media (max-width: 760px) {
  .note-page-title {
    margin-top: 72px;
    font-size: clamp(54px, 18vw, 92px);
  }

  .note-page-content { margin-left: 0; }
}

.regulars-intro h2 {
  font-size: clamp(58px, 6vw, 88px);
}

.regulars-copy {
  max-width: 430px;
  margin: clamp(28px, 4vh, 44px) 0 0;
  color: rgba(255,255,255,.82);
  font-size: clamp(17px, 1.55vw, 22px);
  font-weight: 300;
  line-height: 1.35;
  letter-spacing: -.03em;
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: clamp(26px, 4vh, 44px) clamp(22px, 3.3vw, 48px);
}

.contact-form label {
  display: grid;
  gap: 8px;
}

.contact-form label > span,
.form-note,
.form-status {
  font: 700 9px/1.4 "Courier New", Courier, monospace;
  letter-spacing: .1em;
}

.regulars-form {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
}

.regulars-form .form-submit {
  align-self: end;
  margin-bottom: 12px;
}

.regulars-form .form-status {
  grid-column: 1 / -1;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 8px 0 10px;
  resize: vertical;
  border: 0;
  border-bottom: 1px solid rgba(255,255,255,.58);
  border-radius: 0;
  outline: 0;
  background: transparent;
  color: var(--white);
  font: 400 16px/1.4 "Helvetica Neue", Helvetica, Arial, sans-serif;
  transition: border-color 150ms ease;
}

.contact-form input:focus,
.contact-form textarea:focus { border-color: var(--white); }

.form-submit {
  justify-self: end;
  margin-top: 2px;
  padding: 4px 0;
  cursor: pointer;
  border: 0;
  background: transparent;
  color: var(--white);
  font: 700 10px/1 "Courier New", Courier, monospace;
  letter-spacing: .1em;
}

.form-submit:disabled { cursor: default; opacity: .45; }

.form-note {
  margin: -7px 0 0;
  color: rgba(255,255,255,.43);
}

.form-status {
  margin: 0;
  padding: 13px 14px;
  border: 1px solid var(--line);
  color: rgba(255,255,255,.78);
  line-height: 1.5;
}

body.motion-paused *,
body.motion-paused *::before,
body.motion-paused *::after { animation-play-state: paused !important; }

@keyframes slow-push { from { transform: scale(1); } to { transform: scale(1.022); } }
@keyframes grain-shift {
  0% { transform: translate(0, 0); }
  25% { transform: translate(-1.6%, 1%); }
  50% { transform: translate(1%, -1.5%); }
  75% { transform: translate(1.4%, 1.4%); }
  100% { transform: translate(-.8%, 0); }
}
@keyframes reveal-logo { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes reveal-copy { from { opacity: 0; } to { opacity: 1; } }
@keyframes panel-in { from { opacity: 0; transform: translateX(42px); } to { opacity: 1; transform: translateX(0); } }
@keyframes menu-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 760px) {
  .hero { min-height: 620px; }
  .hero-photo { object-position: 51% center; }
  .left-scrim { background: linear-gradient(90deg, rgba(0,0,0,.35), transparent 70%); }
  .bottom-scrim { background: linear-gradient(0deg, rgba(0,0,0,.76) 0, rgba(0,0,0,.18) 45%, transparent 65%); }
  .utility-nav { top: 18px; right: 18px; gap: 12px; }
  .nav-link { gap: 6px; font-size: 9px; }
  .brand { left: 21px; bottom: 22vh; width: min(82vw, 490px); }
  .tagline { left: 22px; bottom: 9vh; font-size: clamp(15px, 4.5vw, 21px); }
  .motion-toggle { right: 18px; bottom: 18px; }
  .service-panel { width: 100vw; border-left: 0; }
  .panel-intro h2 { font-size: clamp(48px, 15vw, 72px); }
  .services-intro h2 { font-size: clamp(52px, 16vw, 76px); }
  .service-menu { grid-template-columns: 1fr; grid-auto-rows: 68px; }
  .service-menu li { height: 68px; padding: 13px 22px; font-size: clamp(15px, 4.5vw, 19px); }
  .service-menu li:nth-child(odd) { border-right: 0; }
  .contact-intro h2 { font-size: clamp(48px, 13.5vw, 68px); }
  .regulars-intro h2 { font-size: clamp(52px, 15vw, 74px); }
  .notes-intro h2 { font-size: clamp(52px, 15vw, 74px); }
}

@media (max-height: 700px) and (min-width: 761px) {
  .brand { bottom: 21vh; width: min(37vw, 660px); }
  .tagline { bottom: 7vh; }
  .panel-intro { padding-top: 28px; padding-bottom: 24px; }
  .panel-intro h2 { font-size: 60px; }
  .service-menu { grid-auto-rows: 80px; }
  .service-menu li { height: 80px; font-size: clamp(14px, 1.25vw, 17px); }
  .panel-footer { padding-top: 22px; padding-bottom: 22px; }
}

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

.short-note.quiet-note {
  min-height: clamp(260px, 40vh, 400px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.short-note.quiet-note[hidden] { display: none; }
.short-note.quiet-note h3 {
  max-width: 21ch;
  margin: 0;
  font-size: clamp(27px, 2.8vw, 36px);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -.03em;
  text-wrap: balance;
}

.quiet-note .note-word { white-space: nowrap; }
.quiet-note .note-green-i {
  display: inline-block;
  line-height: 1;
  color: var(--white);
  background: linear-gradient(to bottom, var(--acid-lime) 0 32%, var(--white) 32% 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
