:root { color-scheme: dark; font-family: Arial, Helvetica, sans-serif; background: #000; color: #fff; }
* { box-sizing: border-box; }
body { margin: 0; }
[hidden] { display: none !important; }
a { color: inherit; text-underline-offset: .25em; }
button { font: inherit; color: inherit; background: #080808; border: 1px solid #777; border-radius: 0; padding: .8rem 1rem; cursor: pointer; min-height: 44px; }
button:hover { background: #242424; }
:focus-visible { outline: 2px solid #fff; outline-offset: 6px; }
.skip-link { position: fixed; top: 1rem; left: 1rem; padding: 1rem; background: #000; z-index: 3; transform: translateY(-200%); }
.skip-link:focus { transform: none; }
.hero { position: relative; min-height: 100svh; display: grid; place-items: center; padding: 2rem; isolation: isolate; }
.hero video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::before { content: ""; position: absolute; inset: 0; background: #0003; z-index: -1; }
h1 { margin: 0; width: min(80vw, 780px); }
.logo { display: block; width: 100%; height: auto; }
.hero-controls { position: absolute; left: 1.25rem; right: 4.5rem; bottom: 1.5rem; display: flex; flex-wrap: wrap; gap: .6rem; }
.hero-controls button { font-size: .75rem; background: #000b; border-color: #aaa; }
.scroll-link { position: absolute; right: 1.25rem; bottom: 1.5rem; display: grid; place-items: center; min-width: 44px; min-height: 44px; font-size: 1.8rem; text-decoration: none; }
main { padding: 0 6vw; }
.projects { padding: clamp(5rem, 12vw, 12rem) 0; scroll-margin-top: 2rem; }
.projects ul { list-style: none; margin: 0; padding: 0; }
.projects li { border-bottom: 1px solid #343434; }
.projects li:first-child { border-top: 1px solid #343434; }
.projects a { display: block; padding: 1.3em 0; font-size: clamp(1.35rem, 5vw, 5.5rem); font-weight: 700; line-height: 1.12; letter-spacing: -.045em; text-transform: uppercase; text-decoration: none; overflow-wrap: anywhere; }
.projects a:hover { color: #bfbfbf; }
.contact { display: grid; gap: 2.5rem; padding-bottom: clamp(5rem, 12vw, 12rem); }
.contact h2 { margin: 0; font-size: clamp(1.5rem, 3.2vw, 3rem); font-weight: 400; line-height: 1.3; letter-spacing: -.03em; }
.contact h2 span { display: block; color: #bbb; }
.portrait { width: min(100%, 350px); height: auto; display: block; }
.contact-links { align-self: end; }
.email { display: block; width: fit-content; font-size: clamp(1.2rem, 3vw, 2.5rem); overflow-wrap: anywhere; }
#copy-email { margin-top: 1.5rem; font-size: .85rem; }
#copy-status { min-height: 1.5em; max-width: 34ch; font-size: .85rem; color: #bbb; }
.instagram { display: inline-block; padding: .8rem 0; }
footer { border-top: 1px solid #343434; margin: 0 6vw; padding: 2rem 0; display: flex; flex-wrap: wrap; gap: 1.5rem; justify-content: space-between; font-size: .75rem; color: #bbb; }
footer a { display: inline-flex; align-items: center; min-height: 44px; }
footer span { align-self: center; }
.player-open { overflow: hidden; }
#player { width: 100%; height: 100%; height: 100dvh; max-width: none; max-height: none; margin: 0; border: 0; padding: 1.25rem; background: #000f; color: #fff; }
#player::backdrop { background: #000; }
#player[open] { display: grid; place-items: center; }
.player-panel { width: min(100%, 1500px); }
.player-header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.player-header h2 { margin: 0; font-size: clamp(.85rem, 2vw, 1.25rem); font-weight: 400; }
#close-player { flex-shrink: 0; }
#project-video { display: block; width: 100%; max-height: calc(100dvh - 11rem); background: #000; }
#player-status { margin: 1rem 0 0; font-size: .85rem; }
.simple-page { min-height: 100svh; padding: 12vh 8vw; }
.simple-page main { padding: 0; }
.simple-page h1 { width: auto; font-size: clamp(2rem, 6vw, 5rem); }
@media (min-width: 720px) {
  .hero-controls { left: 3rem; bottom: 2rem; }
  .scroll-link { right: 3rem; bottom: 2rem; }
  .contact { grid-template-columns: minmax(0, 350px) minmax(0, 1fr); column-gap: 8vw; }
  .contact h2 { grid-column: 1 / -1; margin-bottom: 1rem; }
  #player { padding: 2rem 4vw; }
}
@media (prefers-reduced-motion: reduce) { .hero video { display: none; } }
