:root {
  --black: #000000;
  --ink: #cbcbcb;
  --muted: #747470;
  --accent: #9a9a9a;
  --line: rgba(154, 154, 154, .22);
  font-family: 'Manrope', sans-serif;
  color: var(--ink);
  background: var(--black);
}

* { box-sizing: border-box; }
html, body { margin: 0; min-width: 320px; background: var(--black); }
body { overflow-x: hidden; }
a { color: inherit; text-decoration: none; }

.hero {
  isolation: isolate;
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  background: var(--black);
}
.hero__grain {
  pointer-events: none;
  position: absolute;
  z-index: 5;
  inset: 0;
  opacity: .07;
  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='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
  mix-blend-mode: screen;
}
.hero::before { content: ''; position: absolute; top: 13%; bottom: 10%; left: 4.2vw; width: 1px; background: rgba(154, 154, 154, .12); z-index: 2; }
.hero::after { content: ''; position: absolute; right: 4.2vw; bottom: 10%; width: 7px; height: 7px; border: 1px solid rgba(154, 154, 154, .6); border-radius: 50%; z-index: 2; }
.topbar, .hero__content, .hero__footer { position: relative; z-index: 3; }
.topbar {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  padding: 34px 4.2vw;
  border-bottom: 1px solid var(--line);
  font-size: 10px;
  letter-spacing: .17em;
  text-transform: uppercase;
}
.wordmark { font-size: 15px; font-weight: 700; letter-spacing: .22em; animation: wordmark-flicker 11s infinite; }
.wordmark span { color: var(--accent); animation: mark-flicker 8s infinite; }
.topbar__link { position: relative; z-index: 10; justify-self: end; padding: 9px 12px; border: 1px solid rgba(154, 154, 154, .5); color: var(--ink); animation: instagram-flicker 13s infinite; cursor: pointer; pointer-events: auto; touch-action: manipulation; transition: opacity .45s ease, border-color .25s ease; }
.topbar__link:hover { color: var(--ink); }
.arrow { color: var(--accent); font-size: 12px; margin-left: 6px; }

.hero__content { position: absolute; top: 50%; left: 11.4vw; padding: 0; transform: translateY(-38%); }
.eyebrow { margin: 0 0 26px; color: var(--muted); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; }
h1 { display: inline-block; max-width: 900px; margin: 0; font-family: 'Manrope', sans-serif; font-size: clamp(24px, 3vw, 48px); font-weight: 600; line-height: 1.08; letter-spacing: -.055em; text-wrap: balance; }
h1 em { position: relative; color: #999995; font-style: normal; font-weight: 400; }
.hero__intro { margin: 54px 0 34px 6px; color: #a3a3a0; font-size: 13px; line-height: 1.65; letter-spacing: .04em; }
.hero__director { display: inline-block; position: absolute; z-index: 6; bottom: 76px; left: 11.4vw; margin: 0; padding: 11px 15px; border: 1px solid rgba(154, 154, 154, .48); color: #b5b5b0; background: rgba(0, 0, 0, .16); font-size: 10px; letter-spacing: .16em; line-height: 1.6; text-shadow: 0 1px 8px #000; cursor: pointer; pointer-events: auto; transition: border-color .25s ease, background-color .25s ease, transform .12s ease; }
.hero__director span { color: var(--ink); }
.link-arrow { margin-left: 4px; color: var(--accent); font-style: normal; font-size: 12px; }
.hero__director:hover { border-color: var(--ink); background: rgba(230, 230, 227, .07); }
.hero__director:active { transform: scale(.97); background: rgba(230, 230, 227, .14); }
.hero__director:focus-visible { outline: 1px solid var(--ink); outline-offset: 4px; }

.hero__portrait { position: absolute; z-index: 1; top: 0; right: 2.5vw; width: min(52vw, 760px); height: 100%; background: linear-gradient(90deg, var(--black) 0%, transparent 22%), linear-gradient(0deg, var(--black) 0%, transparent 12%), url('works/Autor.jpg') center 30% / cover no-repeat; }
.hero__footer { position: absolute; right: 4.2vw; bottom: 34px; left: 4.2vw; display: flex; align-items: center; gap: 18px; color: var(--muted); font-size: 9px; letter-spacing: .18em; text-transform: uppercase; }
.scroll-line { display: block; width: 64px; height: 1px; background: var(--accent); }
.hero__location { margin-left: auto; }
.hero__location i { margin: 0 8px; color: var(--accent); font-style: normal; }
.black-spacer { position: relative; z-index: 4; height: 50svh; margin-top: -140px; padding-top: 140px; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, #000 34%, #000 100%); pointer-events: none; }

.gallery { position: relative; padding: 12vh 4vw 18vh; background: #000; }
.gallery::before { content: ''; position: absolute; top: 0; right: 0; left: 0; height: 12vh; background: linear-gradient(#080808, transparent); opacity: .45; pointer-events: none; }
.gallery__head { position: relative; z-index: 1; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px; margin: 0 0 7vh; }
.gallery__head .eyebrow { margin: 0; }
.gallery__head .eyebrow span { margin-right: 20px; color: var(--accent); }
.gallery__rule { display: block; height: 1px; background: rgba(154, 154, 154, .28); }
.gallery__mark { color: var(--muted); font-size: 9px; letter-spacing: .2em; line-height: 1.5; text-align: right; }
.gallery__title { position: relative; z-index: 1; margin: 0 0 7vh 2vw; color: var(--ink); font-family: 'Manrope', sans-serif; font-size: clamp(62px, 8vw, 126px); font-weight: 700; line-height: .82; letter-spacing: -.09em; }
.gallery__title em { color: var(--accent); font-style: normal; font-weight: 400; }
.gallery__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.gallery__item { position: relative; min-height: 0; margin: 0; overflow: hidden; background: #111; }
.gallery__item { aspect-ratio: 3 / 4; }
.gallery__item img { display: block; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.18); transition: transform .6s ease, filter .6s ease; }
.gallery__item:hover img { transform: scale(1.04); filter: grayscale(1) contrast(1.35); }
.gallery__item img { cursor: zoom-in; }

.about-banner { position: relative; display: flex; min-height: 100svh; flex-direction: column; overflow: hidden; padding: 11vh 4vw 7vh; border-top: 1px solid rgba(154, 154, 154, .22); background: #000; }
.about-banner::after { content: 'B'; position: absolute; right: 3vw; bottom: -8vw; color: rgba(203, 203, 203, .014); font-size: min(38vw, 520px); font-weight: 700; line-height: .7; letter-spacing: -.12em; pointer-events: none; }
.about-banner__head { position: relative; z-index: 1; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px; margin-bottom: 12vh; }
.about-banner__head .eyebrow { margin: 0; }
.about-banner__head .eyebrow span { margin-right: 20px; color: var(--accent); }
.about-banner__rule { display: block; height: 1px; background: rgba(154, 154, 154, .28); }
.about-banner__mark { color: var(--muted); font-size: 9px; letter-spacing: .2em; line-height: 1.5; text-align: right; }
.about-banner__body { position: relative; z-index: 1; display: grid; flex: 1; align-content: center; grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr); gap: 8vw; width: 100%; max-width: 1180px; margin: 0 auto; }
.about-banner__kicker { margin: 0 0 24px; color: var(--accent); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; }
.about-banner h2 { margin: 0; color: var(--ink); font-size: clamp(46px, 7vw, 108px); font-weight: 600; line-height: .85; letter-spacing: -.09em; }
.about-banner h2 em { color: #777774; font-style: normal; font-weight: 400; }
.about-banner__copy { align-self: end; max-width: 440px; padding-bottom: 4px; color: #949490; font-size: 14px; line-height: 1.8; letter-spacing: .025em; }
.about-banner__copy p { margin: 0 0 18px; }
.about-banner__link { display: inline-flex; align-items: center; justify-content: center; min-width: 190px; margin-top: 17px; padding: 14px 20px; border: 1px solid var(--ink); color: #050505; background: var(--ink); font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; transition: color .25s ease, border-color .25s ease, background-color .25s ease; }
.about-banner__link:hover { border-color: var(--accent); color: var(--ink); background: transparent; }
.about-banner__facts { position: relative; z-index: 1; display: flex; justify-content: space-between; gap: 24px; width: 100%; max-width: 1180px; margin: 8vh auto 0; padding-top: 18px; border-top: 1px solid rgba(154, 154, 154, .22); color: var(--muted); font-size: 9px; letter-spacing: .16em; text-transform: uppercase; }
.about-banner__facts strong { margin-right: 10px; color: var(--accent); font-size: 16px; font-weight: 400; }

.contact-banner { position: relative; padding: 12vh 4vw 14vh; border-top: 1px solid rgba(154, 154, 154, .22); background: #000; }
.contact-banner__label { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 28px; }
.contact-banner__label .eyebrow { margin: 0; }
.contact-banner__label .eyebrow span { margin-right: 20px; color: var(--accent); }
.contact-banner__rule { display: block; height: 1px; background: rgba(154, 154, 154, .28); }
.contact-banner__body { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr); gap: 8vw; max-width: 1180px; margin: 16vh auto 0; }
.contact-banner__kicker, .contact-banner__caption { margin: 0 0 24px; color: var(--accent); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; }
.contact-banner h2 { margin: 0; color: var(--ink); font-size: clamp(42px, 6vw, 92px); font-weight: 600; line-height: .87; letter-spacing: -.09em; }
.contact-banner h2 em { color: transparent; font-style: normal; font-weight: 400; background: linear-gradient(110deg, #f0f0f0 5%, #8caf9f 48%, #367362 100%); -webkit-background-clip: text; background-clip: text; }
.contact-banner__address { align-self: end; padding-bottom: 3px; }
.contact-banner__caption { display: block; margin-bottom: 18px; color: var(--muted); }
.contact-banner__address > a { display: block; color: var(--ink); font-size: 15px; line-height: 1.65; letter-spacing: .02em; }
.contact-banner__address a span { color: var(--accent); font-size: 16px; }
.contact-banner__studio { width: fit-content; margin-top: 16px; padding-bottom: 7px; border-bottom: 1px solid rgba(154, 154, 154, .48); font-size: 10px !important; letter-spacing: .18em !important; text-transform: uppercase; }
.contact-banner__studio:hover { border-color: var(--ink); }
.contact-banner__socials-caption { display: block; margin-top: 148px; color: var(--muted); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; }
.contact-banner__socials { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 18px; }
.contact-banner__socials a { padding-bottom: 6px; border-bottom: 1px solid rgba(154, 154, 154, .48); color: var(--ink); font-size: 9px; letter-spacing: .14em; text-transform: uppercase; }
.contact-banner__socials a span { display: none; }
.contact-banner__socials a:hover { border-color: var(--ink); }
.site-footer { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 24px; padding: 30px 4.2vw; border-top: 1px solid var(--line); color: var(--muted); font-size: 9px; letter-spacing: .17em; text-transform: uppercase; }
.site-footer .wordmark { color: var(--ink); font-size: 13px; }

.lightbox { position: fixed; inset: 0; z-index: 30; display: grid; grid-template-columns: 80px minmax(0, 1fr) 80px; align-items: center; padding: 54px 5vw 36px; background: rgba(0, 0, 0, .96); opacity: 0; pointer-events: none; transition: opacity .35s ease; }
.lightbox.is-open { opacity: 1; pointer-events: auto; }
.lightbox__figure { position: relative; display: flex; flex-direction: column; justify-content: center; width: min(78vw, 920px); height: min(86vh, 940px); margin: auto; }
.lightbox__image { display: block; width: 100%; height: 100%; object-fit: contain; filter: grayscale(1) contrast(1.16); user-select: none; }
.lightbox__figure figcaption { display: flex; justify-content: space-between; padding-top: 15px; color: var(--muted); font-size: 9px; letter-spacing: .16em; text-transform: uppercase; }
.lightbox__count { color: var(--accent); }
.lightbox button { border: 0; color: var(--ink); background: transparent; font: inherit; cursor: pointer; }
.lightbox__close { position: absolute; top: 22px; right: 4vw; z-index: 1; font-size: 30px !important; font-weight: 200; line-height: 1; }
.lightbox__prev, .lightbox__next { width: 48px; height: 48px; border: 1px solid rgba(230, 230, 227, .22) !important; border-radius: 50%; color: var(--accent) !important; font-size: 22px !important; transition: border-color .25s ease, color .25s ease; }
.lightbox__prev:hover, .lightbox__next:hover { border-color: var(--ink) !important; color: var(--ink) !important; }

@keyframes instagram-flicker {
  0%, 67%, 70%, 100% { opacity: 1; filter: brightness(1); box-shadow: none; }
  68% { opacity: .82; filter: brightness(.9); }
  68.5% { opacity: 1; filter: brightness(1.08); box-shadow: 0 0 10px rgba(230, 230, 227, .08); }
  69% { opacity: .94; filter: brightness(.98); }
}

@keyframes wordmark-flicker {
  0%, 72%, 75%, 88%, 91%, 100% { opacity: 1; filter: brightness(1); text-shadow: none; }
  73% { opacity: .86; filter: brightness(.92); text-shadow: -1px 0 rgba(154,154,154,.16); }
  74% { opacity: .98; filter: brightness(1.1); text-shadow: 1px 0 rgba(255,255,255,.1); }
  89% { opacity: .78; filter: brightness(.86); }
  90% { opacity: 1; filter: brightness(1.08); text-shadow: 1px 0 rgba(154,154,154,.1); }
}

@keyframes mark-flicker {
  0%, 46%, 49%, 100% { opacity: 1; filter: brightness(1); }
  47% { opacity: .78; filter: brightness(.86); }
  47.5% { opacity: 1; filter: brightness(1.12); }
  48% { opacity: .92; filter: brightness(.98); }
}

@media (prefers-reduced-motion: reduce) {
  .wordmark, .wordmark span, .topbar__link { animation: none; }
}

@media (max-width: 700px) {
  .hero { min-height: 100svh; background: var(--black); }
  .hero::before, .hero::after { display: none; }
  .topbar { padding: 24px 22px; }
  .topbar__link { font-size: 9px; padding: 8px 10px; }
  .hero__portrait { top: 0; right: -15%; width: 112%; height: 65%; opacity: 1; background: linear-gradient(0deg, var(--black) 0%, transparent 24%), linear-gradient(90deg, var(--black) 0%, transparent 28%), url('works/Autor.jpg') center 40% / cover no-repeat; background-position: center, center, center 40%; background-size: cover, cover, auto 100%; background-repeat: no-repeat; }
  .hero__content { position: relative; top: auto; left: auto; padding: 70vh 22px 50px; transform: none; pointer-events: none; }
  .eyebrow { margin-bottom: 20px; font-size: 8px; }
  h1 { max-width: none; font-size: clamp(16px, 5vw, 26px); line-height: 1.1; letter-spacing: -.045em; }
  .hero__intro { margin: 24px 0 0 3px; font-size: 11px; line-height: 1.55; }
  .hero__director { bottom: 24px; left: 22px; padding: 9px 11px 9px 13px; font-size: 9px; letter-spacing: .13em; }
  .hero__director .link-arrow { display: none; }
  .hero__footer { display: none; }
  .black-spacer { height: 50svh; margin-top: -90px; padding-top: 90px; }
  .gallery { padding: 80px 14px 120px; }
  .gallery__head { grid-template-columns: auto 1fr; gap: 15px; margin: 0 0 42px 8px; }
  .gallery__mark { display: none; }
  .gallery__title { margin: 0 0 52px 8px; font-size: clamp(56px, 19vw, 96px); }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .about-banner { padding: 80px 22px 46px; }
  .about-banner::after { right: -5vw; bottom: -3vw; color: rgba(203, 203, 203, .01); font-size: 68vw; }
  .about-banner__head { grid-template-columns: auto 1fr; gap: 15px; margin-bottom: 70px; }
  .about-banner__mark { display: none; }
  .about-banner__body { display: block; flex: initial; }
  .about-banner h2 { font-size: clamp(48px, 16vw, 86px); }
  .about-banner__copy { max-width: 440px; margin-top: 54px; font-size: 13px; }
  .about-banner__facts { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 72px; }
  .contact-banner { padding: 80px 22px 90px; }
  .contact-banner__label { gap: 15px; }
  .contact-banner__body { display: block; margin-top: 70px; }
  .contact-banner h2 { font-size: clamp(46px, 15vw, 82px); }
  .contact-banner__address { margin-top: 64px; }
  .contact-banner__address > a { font-size: 13px; }
  .contact-banner__address > a span, .contact-banner__studio span { display: none; }
  .site-footer { grid-template-columns: 1fr 1fr; gap: 22px 12px; padding: 26px 22px; }
  .site-footer > span { justify-self: end; text-align: right; }
  .contact-banner__socials-caption { margin-top: 142px; }
  .contact-banner__socials { gap: 14px 18px; margin-top: 18px; }
  .contact-banner__socials a { font-size: 8px; }
  .site-footer { grid-template-columns: 1fr auto; }
  .lightbox { grid-template-columns: 42px minmax(0, 1fr) 42px; padding: 62px 12px 30px; }
  .lightbox__figure { width: 100%; height: 78vh; }
  .lightbox__prev, .lightbox__next { width: 44px; height: 44px; font-size: 16px !important; }
  .lightbox__close { top: 20px; right: 20px; }
  .lightbox__figure figcaption { padding-top: 11px; font-size: 7px; }
}
