:root {
  color-scheme: dark;
  --bg: #101010;
  --foreground: #f6f6f6;
  --muted: #b3b3b3;
  --blue: #139fea;
  --blue-text: #006ba6;
  --line: #3b3b3b;
  font: 100% / 1.5 Inter, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--foreground); }
[hidden] { display: none !important; }
a { color: inherit; text-underline-offset: .2em; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
h1, h2, h3, p, figure { margin: 0; }
h2 { font-size: clamp(1.8rem, 4.45vw, 4.15rem); font-weight: 800; line-height: .98; text-transform: uppercase; letter-spacing: -.037em; }
button { font: inherit; cursor: pointer; }
.wrap { width: min(96%, 1200px); margin-inline: auto; }
.inset { padding-inline: clamp(.85rem, 4.5vw, 4rem); }
section { scroll-margin-top: 1rem; }
.skip { position: absolute; top: .5rem; left: .5rem; z-index: 3; padding: .5rem .8rem; background: var(--bg); transform: translateY(-150%); }
.skip:focus { transform: translateY(0); }

.header { min-height: 3.75rem; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem; padding: .65rem clamp(.85rem, 4.5vw, 4rem); }
.logo { width: fit-content; font: italic 800 2rem / 1 Georgia, serif; text-decoration: none; }
.header nav, .header-actions { display: flex; align-items: center; gap: clamp(.65rem, 2.2vw, 2rem); }
.header nav a, .footer > a:last-child { font-size: .73rem; text-decoration: none; white-space: nowrap; }
.header nav a:hover, .footer a:hover { color: var(--blue); }
.header-actions { justify-content: end; gap: .45rem; }
.button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 2.1rem;
  padding: .4rem .9rem; border: 1px solid transparent; border-radius: 2px;
  font-size: .7rem; font-weight: 700; line-height: 1.2; text-decoration: none; text-align: center;
  transition: background-color .2s ease, transform .2s ease;
}
.button:hover { transform: translateY(-2px); }
.blue { background: var(--blue); color: #0b1921; }
.light { background: #fff; border-color: var(--blue); color: var(--blue-text); }
.outline { border-color: #176894; color: var(--foreground); }
.outline:hover { background: #123144; }

.hero {
  position: relative; isolation: isolate; display: grid; place-items: center; overflow: hidden;
  aspect-ratio: 16 / 9; min-height: 17rem; border: clamp(3px, .65vw, 9px) solid var(--blue);
  background: #e4e4e4; color: #151515; text-align: center;
}
.hero .hero-poster {
  position: absolute; z-index: -1; inset: 0;
  background-image: linear-gradient(to top right, transparent 49.9%, #bfbfbf 50%, transparent 50.1%),
                    linear-gradient(to bottom right, transparent 49.9%, #bfbfbf 50%, transparent 50.1%);
}
.hero-poster.has-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 28%, #000a); }
.hero:has(.hero-poster.has-media) h1 { color: #fff; }
.hero-content { display: grid; justify-items: center; gap: clamp(.75rem, 2.65vw, 2.05rem); padding: 1rem; transform: translateY(17%); }
.hero h1 { font-size: clamp(1.05rem, 3vw, 2.55rem); font-weight: 500; line-height: 1.15; letter-spacing: -.035em; }
.play {
  display: grid; place-items: center; width: clamp(3.1rem, 8vw, 5.6rem); aspect-ratio: 1;
  padding: 0; border: 0; border-radius: 50%; background: var(--blue); color: #081823;
  box-shadow: 0 0 0 0 #159ce966; transition: box-shadow .2s ease;
}
.play:hover { box-shadow: 0 0 0 .45rem #159ce966; }
.play span { width: 0; height: 0; margin-left: .18em; border-block: .46em solid transparent; border-left: .74em solid currentColor; font-size: clamp(1.25rem, 3vw, 2rem); }

.about { display: grid; grid-template-columns: 1fr .78fr; gap: clamp(1.3rem, 8vw, 7rem); padding-block: clamp(2.4rem, 5.8vw, 5rem); }
.about-copy { display: flex; flex-direction: column; justify-content: space-between; align-items: start; gap: 2rem; }
.about h2 { font-size: clamp(1.75rem, 3.9vw, 3.75rem); }
.bio { max-width: 36ch; }
.bio h3 { font-size: .85rem; }
.bio p, .work-heading p, .services p { color: var(--muted); font-size: clamp(.78rem, 1.15vw, .96rem); }
.bio p { margin-block: .5rem .75rem; }
.media { position: relative; overflow: hidden; }
.media img { display: block; width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; }
.portrait { aspect-ratio: 4 / 5; background: linear-gradient(151deg, #dbd9cd, #8c9386 49%, #263732 76%, #131c1c); }

.work { padding-top: clamp(1.35rem, 4vw, 3.5rem); display: grid; }
.work-heading { display: grid; grid-template-columns: 1fr .78fr; align-items: end; gap: clamp(1.3rem, 8vw, 7rem); }
.work-heading h2 { font-size: clamp(2.2rem, 5.75vw, 5rem); }
.portfolio {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 6vw, 5.5rem) clamp(1rem, 9vw, 8rem);
  width: 86%; margin: clamp(2.2rem, 7vw, 5.8rem) auto 0;
}
.portfolio figure:nth-child(even) { margin-top: clamp(1rem, 6.5vw, 5rem); }
.project { aspect-ratio: 3 / 4; }
.photography { background: radial-gradient(ellipse at 50% 33%, #344577, transparent 53%), linear-gradient(154deg, #172d6e, #101828 64%, #08090b); }
.branding { background: radial-gradient(ellipse at 66% 13%, #fbc575, transparent 56%), linear-gradient(154deg, #a77b3e, #564825 55%, #1e251a); }
.film { background: radial-gradient(ellipse at 45% 53%, #50849a, transparent 52%), linear-gradient(160deg, #e2e4db, #83a1a4 56%, #193947); }
.experiments { background: radial-gradient(ellipse at 72% 63%, #ad7953, transparent 50%), linear-gradient(163deg, #525659, #302e2e 52%, #151310); }
figcaption { margin-top: .85rem; font-size: clamp(.68rem, 1.05vw, .86rem); font-weight: 750; text-transform: uppercase; }
.portfolio-link { justify-self: center; margin-block: clamp(1.75rem, 5vw, 4.25rem); }
.services, .contact { text-align: center; }
.services h2 { font-size: clamp(1.3rem, 3vw, 2.35rem); }
.services p { margin-top: .55rem; }
.services > div { padding-bottom: clamp(1.1rem, 2.5vw, 2.1rem); border-bottom: 1px solid var(--line); }
.contact { padding-block: clamp(1.5rem, 3.7vw, 3rem); }
.contact h2 { font-size: clamp(1.55rem, 4vw, 3.65rem); }
.email { display: inline-block; margin-top: 1rem; }
.footer { display: flex; align-items: center; justify-content: space-between; padding-block: .6rem 1.7rem; color: var(--muted); }

dialog { width: min(90vw, 52rem); max-width: none; padding: clamp(1rem, 4vw, 2rem); background: #141414; color: #fff; border: 1px solid #515151; }
dialog::backdrop { background: #000c; }
dialog h2 { font-size: clamp(1.4rem, 4vw, 2.4rem); padding-right: 3rem; }
dialog p, dialog video { margin-top: 1rem; }
dialog video { display: block; width: 100%; max-height: 70vh; background: black; }
.close { position: absolute; top: .55rem; right: .55rem; width: 2.5rem; height: 2.5rem; font-size: 1.5rem; border: 0; background: #2a2a2a; color: #fff; }

@keyframes arrive {
  from { opacity: 0; translate: 0 18px; }
  to { opacity: 1; translate: 0 0; }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-content { animation: arrive .7s ease-out both; }
  .in-view { animation: arrive .56s ease-out both; }
}
@media (max-width: 680px) {
  .header { grid-template-columns: auto 1fr; gap: .55rem; }
  .header nav { justify-content: end; flex-wrap: wrap; }
  .header-actions { display: none; }
  .about { grid-template-columns: 1fr; }
  .portrait { width: min(100%, 27rem); }
  .work-heading { grid-template-columns: 1fr; gap: .75rem; }
  .portfolio { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button, .play { transition: none; }
  .button:hover { transform: none; }
}


.logo { display: grid; place-items: center; overflow: hidden; width: 2.45rem; height: 2.45rem; }
.logo img { display: block; width: 100%; height: 100%; object-fit: contain; }
.branding.has-media, .experiments.has-media { aspect-ratio: var(--art-ratio); background: #101010; }
.branding img, .experiments img { object-fit: contain; }
.film img { object-position: 35% center; }
