:root {
  color-scheme: light;
  --ink: #191819;
  --accent: #6847ab;
  --light-accent: #c5abff;
  --space: clamp(4rem, 7vw, 7rem);
  --display: Impact, 'Arial Narrow', 'Helvetica Neue', sans-serif;
  font-family: 'Helvetica Neue', Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 55px; }
body { margin: 0; color: var(--ink); background: white; }
a { color: inherit; text-decoration: none; }
button, textarea { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.skip { position: fixed; z-index: 5; left: 1rem; padding: .7rem; background: white; transform: translateY(-150%); }
.skip:focus { transform: none; }
.header { position: fixed; z-index: 2; inset: 0 0 auto; color: white; background: transparent; transition: color .4s ease-out, background .4s ease-out, box-shadow .4s ease-out; }
.header.solid { color: var(--ink); background: white; box-shadow: 0 0 5px #0006; }
.header-inner, .narrow { width: min(90%, 69rem); margin-inline: auto; }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 100px; gap: 1rem; transition: height .4s ease-out; }
.header.solid .header-inner { height: 55px; }
.brand { font-family: var(--display); font-size: 1.6rem; font-weight: 900; letter-spacing: -.04em; text-transform: uppercase; }
nav { display: flex; gap: 0; font-size: 13px; font-weight: 400; letter-spacing: .05em; text-transform: uppercase; }
nav a { position: relative; margin-inline: 15px; }
nav a[aria-current="location"]::after { opacity: .72; }
nav a::after {
  content: "";
  position: absolute;
  inset: auto 0 -7px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transition: transform .4s ease-in-out;
}
nav a:hover::after, nav a:focus-visible::after, nav a[aria-current="location"]::after { transform: scaleX(1); }
footer a:hover { text-decoration: underline; text-underline-offset: .35em; }
.menu { display: none; }
h1, h2, h3, p { margin: 0; }
.hero { min-height: 100svh; display: grid; place-items: center; position: relative; isolation: isolate; overflow: hidden; padding: 6rem 1rem 4rem; color: white; text-align: center; background: #161616; }
.hero-art, .contact-art { position: absolute; inset: 0; z-index: -1; }
.hero-art {
  overflow: hidden;
}
.hero-fill {
  position: absolute;
  inset: -3rem;
  background: var(--image, none) center / cover;
  filter: blur(2px) brightness(.72);
}
.hero-art::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  width: min(86%, 108svh);
  aspect-ratio: 25 / 18;
  background: var(--image, none) center / contain no-repeat;
  mask-image:
    linear-gradient(to right, transparent, black 15%, black 85%, transparent),
    linear-gradient(to bottom, transparent, black 15%, black 85%, transparent);
  mask-composite: intersect;
  animation: wallpaper-drift 22s ease-in-out infinite alternate;
  translate: calc(-50% + var(--wallpaper-x, 0%)) calc(-50% + var(--wallpaper-y, 0%));
  transition: translate .45s ease-out;
}
@keyframes wallpaper-drift {
  from { transform: scale(1.035); }
  to { transform: translate(-1.5%, 1%) scale(1.13); }
}
.hero-art::after {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0;
  background: radial-gradient(ellipse at center, #0004 15%, #0008 65%, #000b 100%);
  pointer-events: none;
}
.hero-grain {
  position: absolute;
  inset: 0;
  z-index: 3;
  background: url('waye/film-grain-slow.gif') repeat top left;
  opacity: .04;
  pointer-events: none;
}
.contact-art {
  background: linear-gradient(180deg,#06060645,#050505a0), var(--image, none) center / cover;
  filter: grayscale(1);
}
.hero-copy { opacity: var(--hero-opacity, 1); }
.hero-copy.enter > * { animation: enter .8s ease .6s both; }
.label { font-size: .875rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
h1, h2 { font-family: var(--display); font-weight: 900; text-transform: uppercase; line-height: .99; }
h1 { font-size: clamp(2.75rem, 10vw, 9rem); letter-spacing: -.035em; margin: .23em 0; }
h2 { font-size: clamp(2.1rem, 5.2vw, 4.75rem); letter-spacing: -.035em; }
.button { display: inline-flex; justify-content: center; padding: .72rem 1.4rem; border: 1px solid #fffa; background: #16161685; color: white; font-size: .875rem; font-weight: 700; }
.button:hover { background: white; color: var(--ink); }
.hero-rule {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 1px;
  height: 50px;
  pointer-events: none;
}
.hero-rule::before {
  content: "";
  display: block;
  width: 100%;
  background: white;
  transform-origin: bottom;
  animation: scroll-down 2s ease-in-out infinite;
}
@keyframes scroll-down {
  0% { height: 0; }
  50% { height: 100%; transform: scaleY(1); }
  70% { height: 100%; transform: scaleY(.5); }
  100% { height: 100%; transform: scaleY(0); }
}
.divider { display: block; width: 1px; height: clamp(2rem, 5vw, 4.25rem); margin: 2.5rem auto 0; background: #bbb; }
.about, .work, .process { text-align: center; }
.about { padding-top: var(--space); }
.section-title { margin-bottom: clamp(1.4rem, 3vw, 2.5rem); }
.section-title .label { margin-top: .75rem; color: #605b64; }
.about > p { max-width: 76ch; margin: 0 auto 1.05rem; line-height: 1.6; color: #524f55; }
.work { padding: var(--space) clamp(1rem, 2vw, 2rem); }
.projects { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 3vw, 2rem); max-width: 74rem; margin-inline: auto; }
.project-card { min-width: 0; display: flex; flex-direction: column; overflow: hidden; border: 1px solid #ddd; background: white; color: #1e1b22; text-align: left; }
.project-preview { display: block; width: 100%; overflow: hidden; padding: 0; border: 0; background: #26232a; }
.project-preview img, .project-dialog-image { display: block; width: 100%; height: auto; }
.project-preview img { transition: transform .6s ease; }
.project-preview:hover img, .project-preview:focus-visible img { transform: scale(1.035); }
.project-preview:focus-visible { outline-offset: -4px; }
.project-caption { display: flex; flex: 1; flex-direction: column; gap: .35rem; padding: clamp(.9rem, 3vw, 1.5rem); }
.project-caption > span { font: 400 .875rem 'Oswald', sans-serif; color: #59545e; }
.project-caption h3 { font: 600 clamp(1.35rem, 2.9vw, 2rem)/1.2 'Oswald', sans-serif; margin: 0; }
.project-caption p { margin: .25rem 0 .55rem; line-height: 1.55; }
.project-link { display: inline-flex; align-self: flex-start; align-items: center; min-height: 44px; margin-top: auto; color: #38254c; font-weight: 700; text-decoration: underline; text-underline-offset: .22em; }
.services { display: grid; grid-template-columns: 1fr 1fr; background: #f4f3f5; }
.service-art { min-height: 22rem; background: var(--image, none) center 18% / cover #242326; filter: grayscale(1); }
.service-copy { align-self: center; padding: clamp(2rem,6vw,6rem); }
.service-copy ul { padding-left: 1.3rem; margin: 0; line-height: 1.65; }
.process { padding-block: var(--space); }
.process ol { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1.5rem; padding: 0; margin: 0; text-align: left; list-style: none; }
.process li { display: flex; gap: .9rem; align-items: flex-start; }
.step-number { font-family: var(--display); color: var(--accent); font-size: 3.6rem; line-height: .95; }
.process h3 { text-transform: uppercase; font-size: 1rem; margin-bottom: .45rem; }
.process li p { color: #524f55; line-height: 1.5; }
.contact { background: #101011; padding: clamp(1rem,6vw,6rem); color: white; text-align: center; }
.contact-panel { position: relative; isolation: isolate; padding: clamp(2.5rem,6vw,6rem) 1rem; background: #232224; }
.contact-art { opacity: .33; }
.contact .label { color: var(--light-accent); }
#brief { width: min(100%, 31rem); margin: 1.3rem auto 0; }
#brief label { display: block; margin-bottom: .45rem; }
textarea { display: block; width: 100%; padding: .7rem; border: 1px solid #bbb; background: #1e1c22; color: white; resize: vertical; }
textarea::placeholder { color: #ccc; }
#brief .button { margin-top: .85rem; }
#brief-status:not(:empty) { margin-top: .75rem; }
footer { display: grid; justify-items: center; gap: .8rem; padding: 2.5rem 1rem; }
dialog { width: min(91%, 44rem); max-height: 90svh; padding: 0; border: 0; }
dialog::backdrop { background: #15131bca; }
.close { position: absolute; z-index: 1; right: .65rem; top: .65rem; padding: .45rem .8rem; border: 1px solid #bbb; background: white; color: var(--ink); }
.dialog-copy { padding: 1.4rem; }
.dialog-copy h2 { margin: .15em 0; }
.dialog-copy p { line-height: 1.5; }
@keyframes enter { from { opacity: 0; } to { opacity: 1; } }
@media (max-width: 768px) {
  .header-inner { height: 70px; }
  .menu { display: grid; gap: 4px; padding: 10px; background: none; color: inherit; border: 0; }
  .menu span { width: 22px; height: 2px; background: currentColor; }
  nav { display: none; position: absolute; inset: 100% 0 auto; padding: .5rem 5%; background: white; color: black; }
  nav a { width: fit-content; margin: 0; padding: 10px 15px; }
  nav a::after { inset: auto 15px 5px; }
  .menu[aria-expanded="true"] + nav { display: grid; }
}
@media (max-width: 660px) {
  .projects, .services, .process ol { grid-template-columns: 1fr; }
  .service-art { min-height: 14rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .hero-rule::before { height: 100%; }
  .hero-grain { display: none; }
}

/* Typography and bracket controls from the Waye reference. */
:root { --display: 'Oswald', sans-serif; font-family: 'Raleway', sans-serif; }
h1, h2, .brand { font-weight: 700; }
nav, .label { font-family: 'Oswald', sans-serif; }
.step-number { font-family: 'Montserrat', sans-serif; font-weight: 700; }
.hero h1 { font-size: clamp(3rem, 9vw, 115px); letter-spacing: -.02em; }
.hero .label { font-weight: 400; letter-spacing: .15em; }
.button {
  position: relative;
  min-height: 38px;
  align-items: center;
  padding: 0 46px;
  border: 0;
  background: transparent;
  color: white;
  text-transform: uppercase;
  font: 500 10px 'Raleway', sans-serif;
  letter-spacing: .1em;
}
.button:hover { background: transparent; color: white; }
.button::before, .button::after {
  content: "";
  position: absolute;
  top: 0;
  box-sizing: border-box;
  width: 15px;
  height: 100%;
  border: 1px solid currentColor;
  pointer-events: none;
  transition: width .5s linear;
}
.button::before { left: 0; border-right: 0; }
.button::after { right: 0; border-left: 0; }
.button:hover::before, .button:hover::after,
.button:focus-visible::before, .button:focus-visible::after { width: 100%; }
@media (min-width: 1920px) {
  .hero-rule { height: 60px; }
  .button { min-height: 47px; font-size: 11px; letter-spacing: .25em; }
  .button::before, .button::after { width: 20px; }
}
.cursor-accent {
  position: fixed;
  z-index: 999;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  pointer-events: none;
  mix-blend-mode: difference;
}
.cursor-accent::before, .cursor-accent::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 50%;
  translate: -50% -50%;
}
.cursor-accent::before {
  left: var(--ring-x, 0px);
  top: var(--ring-y, 0px);
  transition: scale .24s ease-out;
  width: 3rem;
  height: 3rem;
  border: 1px solid #bb252f;
}
.cursor-accent::after {
  left: var(--dot-x, 0px);
  top: var(--dot-y, 0px);
  width: .6rem;
  height: .6rem;
  background: #bb252f;
}
.cursor-accent.is-hovering::before { scale: 1.1; }

@media (prefers-reduced-motion: reduce), (forced-colors: active) {
  .cursor-accent { display: none; }
}
