:root {
  --black: #02090b;
  --ink: #06171b;
  --cream: #f2fbfd;
  --muted: #8da7ad;
  --line: rgba(177, 228, 240, 0.15);
  --cyan: #00ccff;
  --cyan-soft: #83e6ff;
  --panel: rgba(5, 20, 24, 0.72);
  --panel-strong: rgba(3, 15, 18, 0.9);
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.38);
  --page: min(1480px, calc(100vw - clamp(40px, 6vw, 96px)));
  --sans: "Helvetica Neue", "Arial Narrow", Arial, sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--black);
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 78% 18%, rgba(0, 204, 255, 0.055), transparent 31rem),
    radial-gradient(circle at 12% 68%, rgba(0, 204, 255, 0.035), transparent 38rem),
    var(--black);
  color: var(--cream);
  font-family: var(--sans);
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 300;
  pointer-events: none;
  opacity: .16;
  background-image: radial-gradient(rgba(255,255,255,.3) .45px, transparent .45px);
  background-size: 4px 4px;
  mix-blend-mode: soft-light;
}

body[data-menu-open="true"],

button, a { color: inherit; }
button { font: inherit; }
a { text-decoration: none; }
img, video { display: block; max-width: 100%; }

button, a, img { -webkit-tap-highlight-color: transparent; }

::selection { background: var(--cyan); color: var(--black); }

.skip-link {
  position: fixed;
  z-index: 999;
  top: 12px;
  left: 12px;
  padding: 12px 16px;
  background: var(--cream);
  color: var(--black);
  transform: translateY(-140%);
  transition: transform 180ms ease;
}

.skip-link:focus { transform: translateY(0); }

.site-header {
  position: fixed;
  top: 16px;
  left: 50%;
  z-index: 80;
  width: var(--page);
  height: 74px;
  padding: 0 22px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  transform: translateX(-50%);
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(3, 15, 18, 0.62);
  box-shadow: 0 14px 46px rgba(0,0,0,.18);
  -webkit-backdrop-filter: blur(22px) saturate(115%);
  backdrop-filter: blur(22px) saturate(115%);
  transition: height 350ms ease, background 350ms ease, border-color 350ms ease, box-shadow 350ms ease;
}

.site-header.is-scrolled {
  height: 64px;
  background: rgba(3, 15, 18, 0.86);
  border-color: rgba(131,230,255,.22);
  box-shadow: 0 18px 56px rgba(0,0,0,.3);
}

.brand {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 760;
  letter-spacing: -0.06em;
}

.brand-mark {
  width: 32px;
  height: 32px;
  display: block;
  position: relative;
  flex: 0 0 auto;
  overflow: hidden;
}

.brand-mark img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 86px;
  max-width: none;
  height: auto;
  transform: translate(-50%, -50%);
  filter: brightness(0) saturate(100%) invert(66%) sepia(99%) saturate(3555%) hue-rotate(148deg) brightness(103%) contrast(102%);
}

.brand-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.brand-name { font-size: 15px; line-height: 1; letter-spacing: -.01em; }
.brand-copy small { color: var(--muted); font: 7px/1 var(--mono); letter-spacing: .09em; text-transform: uppercase; }

.desktop-nav { display: flex; align-items: center; gap: clamp(22px, 3vw, 50px); }
.desktop-nav a,
.availability,
.filters button,
.hero-kicker,
.hero-index,
.scroll-cue,
.eyebrow,
.work-toolbar,
.work-info small,
.work-year,
.contact-meta,
.footer-signature {
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.desktop-nav a {
  position: relative;
  padding: 10px 0;
  font-family: var(--mono);
  color: rgba(242,251,253,.82);
  font-size: 10px;
  text-transform: uppercase;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 4px;
  height: 1px;
  background: var(--cyan);
  transition: right 250ms ease;
}

.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after { right: 0; }

.header-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 24px;
}

.availability { color: rgba(242,251,253,.75); font-size: 8px; display: flex; align-items: center; gap: 9px; }
.availability i { width: 6px; height: 6px; border-radius: 50%; background: #52ef79; box-shadow: 0 0 0 5px rgba(82, 239, 121, 0.1); }
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; padding: 12px 7px; cursor: pointer; }
.menu-toggle span { display: block; width: 100%; height: 1px; margin: 7px 0; background: currentColor; transition: transform 250ms ease; }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: var(--cyan);
  color: var(--black);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 120px 24px 34px;
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
  transition: clip-path 500ms cubic-bezier(.77,0,.18,1), visibility 500ms;
}

.mobile-menu.is-open { clip-path: inset(0); visibility: visible; }
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu nav a { border-bottom: 1px solid rgba(0,13,16,.35); padding: 13px 0; font-size: clamp(50px, 15vw, 90px); letter-spacing: -0.065em; line-height: .92; text-transform: uppercase; }
.mobile-menu nav small { font: 10px var(--mono); letter-spacing: 0; vertical-align: top; }
.mobile-menu-footer { display: flex; justify-content: space-between; font: 10px var(--mono); text-transform: uppercase; }

.hero {
  min-height: 720px;
  height: 100svh;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--ink);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero::before {
  z-index: -2;
  background: linear-gradient(180deg, rgba(0,7,9,.28) 0%, transparent 42%, rgba(0,7,9,.28) 100%);
}

.hero::after {
  z-index: -1;
  box-shadow: inset 0 0 180px rgba(0,0,0,.35);
}

.hero-video {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.8);
  transform: scale(1.015);
}

.hero-kicker {
  position: absolute;
  top: 114px;
  left: max(32px, calc((100vw - var(--page)) / 2));
  right: max(32px, calc((100vw - var(--page)) / 2));
  display: flex;
  justify-content: flex-end;
  color: rgba(242,251,253,.68);
  font-size: 8px;
}

.hero-copy {
  position: absolute;
  left: 50%;
  bottom: 18px;
  width: var(--page);
  min-height: 128px;
  padding: 17px 24px 19px;
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(220px, .48fr);
  grid-template-rows: auto 1fr;
  column-gap: clamp(28px, 4vw, 72px);
  align-items: end;
  border: 1px solid rgba(177,228,240,.18);
  border-radius: 14px;
  background: linear-gradient(115deg, rgba(3,15,18,.82), rgba(3,15,18,.58));
  box-shadow: var(--shadow);
  -webkit-backdrop-filter: blur(24px) saturate(112%);
  backdrop-filter: blur(24px) saturate(112%);
  transform: translateX(-50%);
}

.hero-index { grid-column: 1; grid-row: 1; margin: 0 0 7px; font-size: 7px; color: var(--cyan-soft); }
.hero h1 { grid-column: 1; grid-row: 2; margin: 0; font-size: clamp(34px, 3.8vw, 56px); line-height: .84; letter-spacing: -0.065em; text-transform: uppercase; font-weight: 760; }
.hero h1 span { display: block; white-space: nowrap; }
.hero h1 .outline { color: rgba(242,251,253,.74); -webkit-text-stroke: 0; margin-left: 0; font-weight: 260; }
.hero-bottom { grid-column: 2; grid-row: 1 / span 2; width: min(250px, 100%); margin: 0; align-self: center; justify-self: end; }
.hero-bottom::before { content: ""; display: block; width: 44px; height: 1px; margin: 0 auto 11px; background: var(--cyan); }
.hero-bottom p { width: auto; margin: 0; color: rgba(242,251,253,.82); font-size: 11px; line-height: 1.35; text-align: center; }

.scroll-cue { position: absolute; right: max(18px, calc((100vw - var(--page)) / 4)); top: 48%; display: flex; align-items: center; gap: 10px; color: rgba(242,251,253,.62); font-size: 7px; transform: rotate(90deg) translateX(50%); transform-origin: right; }
.scroll-cue i { display: block; width: 38px; height: 1px; background: currentColor; }

.section-pad { width: var(--page); margin: 0 auto; padding: 180px 0; }
.eyebrow { margin: 0; color: var(--cyan-soft); font-size: 9px; }
.section-heading { display: grid; grid-template-columns: 1fr 3fr; align-items: start; margin-bottom: 110px; }
.section-heading h2,
.studio-intro h2 {
  margin: -10px 0 0;
  font-size: clamp(48px, 7.2vw, 112px);
  line-height: .91;
  letter-spacing: -0.055em;
  text-transform: uppercase;
  font-weight: 700;
}

.works-heading {
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(28px, 4vw, 64px);
  margin-bottom: 0;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--line);
}

.works-heading h2 {
  margin: 0;
  font-size: clamp(29px, 3.2vw, 50px);
  font-weight: 580;
  line-height: .98;
  letter-spacing: -.045em;
  white-space: nowrap;
}

.work-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px 0 20px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 70px;
  font-size: 9px;
}
.work-toolbar p { margin: 0; }
.filters { display: flex; gap: 8px; }
.filters button { border: 1px solid var(--line); background: rgba(255,255,255,.015); border-radius: 999px; padding: 9px 16px; color: rgba(242,251,253,.7); font-size: 8px; cursor: pointer; transition: background 200ms ease, color 200ms ease, border-color 200ms ease; }
.filters button:hover, .filters button.is-active { background: var(--cyan); color: var(--black); border-color: var(--cyan); }

.work-grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: clamp(18px, 2vw, 30px); row-gap: 118px; }
.work-card { grid-column: span 6; border: 0; padding: 0; background: transparent; text-align: left; cursor: none; transition: opacity 300ms ease, transform 300ms ease; }
.work-card--wide { grid-column: span 7; }
.work-card--portrait { grid-column: span 5; }
.work-card--square { grid-column: 2 / span 5; }
.work-card--landscape { grid-column: 7 / span 6; margin-top: 110px; }
.work-card.is-hidden { display: none; }
.work-image { display: block; overflow: hidden; aspect-ratio: var(--media-ratio, 16 / 9); border: 1px solid rgba(177,228,240,.14); border-radius: 14px; background: var(--ink); box-shadow: 0 24px 70px rgba(0,0,0,.24); }
.work-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms cubic-bezier(.16,.8,.2,1); }
.work-image.is-image-pending { position: relative; }
.work-image.is-image-pending img { display: none; }
.work-image.is-image-pending::after { content: attr(data-fallback); position: absolute; inset: 0; display: grid; place-items: center; padding: 10%; background: linear-gradient(135deg, rgba(0,204,255,.16), rgba(0,39,48,.55)); color: var(--cyan); font: 700 clamp(28px, 5vw, 72px)/.9 var(--sans); letter-spacing: -.05em; text-align: center; text-transform: uppercase; }
.work-card:hover .work-image img,
.work-card:focus-visible .work-image img { transform: scale(1.04); }
.work-info { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; padding-top: 19px; }
.work-info > span:first-child { display: flex; flex-direction: column; gap: 8px; }
.work-info b { font-size: clamp(22px, 2.05vw, 32px); font-weight: 560; line-height: .96; letter-spacing: -0.042em; text-transform: uppercase; }
.work-info small, .work-year { color: var(--muted); font-size: 8px; font-weight: normal; }

.ticker { overflow: hidden; border-block: 1px solid var(--line); padding: 25px 0; background: rgba(4,18,22,.76); color: var(--cyan-soft); box-shadow: inset 0 24px 70px rgba(0,0,0,.14); }
.ticker > div { width: max-content; display: flex; align-items: center; gap: 36px; animation: marquee 24s linear infinite; }
.ticker span { font-weight: 660; font-size: clamp(36px, 5.2vw, 76px); letter-spacing: -0.05em; line-height: .86; }
.ticker i { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 18px rgba(0,204,255,.52); }
@keyframes marquee { to { transform: translateX(-50%); } }

.studio { position: relative; padding-top: 210px; }
.studio::before { content: ""; position: absolute; top: 7%; right: -12%; width: 38vw; height: 38vw; border-radius: 50%; background: rgba(0,204,255,.035); filter: blur(60px); pointer-events: none; }
.studio-intro { display: grid; grid-template-columns: 1fr 3fr; padding-bottom: 126px; border-bottom: 1px solid var(--line); }
.studio-intro h2 { font-weight: 600; }
.studio-layout { display: grid; grid-template-columns: minmax(300px, .9fr) minmax(0, 1.35fr); gap: clamp(70px, 9vw, 150px); align-items: start; padding: 96px 0 0; }
.studio-profile { position: sticky; top: 110px; align-self: start; padding: 34px; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(145deg, rgba(7,27,32,.62), rgba(4,17,21,.28)); box-shadow: 0 24px 70px rgba(0,0,0,.16); }
.studio-lead { max-width: 650px; margin: 0; font-size: clamp(34px, 3.6vw, 56px); font-weight: 580; line-height: .96; letter-spacing: -.052em; text-transform: uppercase; }
.studio-lead::after { content: ""; display: block; width: 54px; height: 2px; margin-top: 30px; background: var(--cyan); }
.studio-bio { display: grid; gap: 22px; max-width: 600px; margin-top: 38px; }
.studio-bio p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.65; }
.studio-bio p:first-child { color: var(--cream); font-size: 18px; line-height: 1.45; }
.services article { display: grid; grid-template-columns: 42px 1fr 1.2fr; gap: 24px; align-items: start; margin-bottom: 12px; padding: 30px 28px 34px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.018); }
.services article:last-child { margin-bottom: 0; }
.services article > span { color: var(--cyan-soft); font: 9px var(--mono); }
.services h3 { margin: -4px 0 0; font-size: clamp(21px, 2vw, 30px); font-weight: 520; line-height: 1; text-transform: uppercase; }
.services p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.55; }

.statement { width: calc(100% - 32px); height: 92svh; min-height: 650px; position: relative; display: grid; place-items: center; margin: 16px auto 0; overflow: hidden; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); }
.statement-image { position: absolute; inset: -3%; background: linear-gradient(90deg, rgba(0,0,0,.56), rgba(0,0,0,.18)), url("./assets/Bernardo_Camera.png") center/cover no-repeat; filter: grayscale(1) contrast(1.08); transform: scale(1.02); }
.statement::before { content: ""; position: absolute; inset: 0; z-index: 1; background: radial-gradient(circle at 50% 48%, transparent 18%, rgba(0,8,10,.34) 86%); }
.statement::after { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(0,204,255,.1); mix-blend-mode: color; }
.statement p { position: relative; z-index: 2; width: min(94%, 1600px); margin: 0; text-align: center; font-size: clamp(26px, 6.4vw, 108px); line-height: .88; letter-spacing: -.065em; text-transform: uppercase; font-weight: 620; text-shadow: 0 20px 60px rgba(0,0,0,.32); }
.statement p span,
.statement em { display: block; white-space: nowrap; }
.statement em { color: var(--cyan-soft); font-style: normal; }

.contact { padding-top: 210px; }
.contact-top { margin-bottom: 110px; }
.contact-top h2 { max-width: 10ch; margin: 0; font-size: clamp(70px, 10.6vw, 170px); font-weight: 580; line-height: .82; letter-spacing: -.07em; text-transform: uppercase; }
.contact-meta { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; border: 0; font-size: 10px; }
.contact-meta div { display: flex; min-height: 178px; padding: 28px; flex-direction: column; justify-content: space-between; gap: 28px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.018); }
.contact-meta div:not(:last-child) { border-right: 1px solid var(--line); }
.contact-meta div + div { padding-left: 28px; }
.contact-meta small { color: var(--cyan-soft); font-size: 8px; }
.contact-meta a, .contact-meta span { color: rgba(242,251,253,.88); font-size: clamp(14px, 1.18vw, 19px); font-weight: 600; line-height: 1.2; letter-spacing: -.025em; overflow-wrap: anywhere; }
.contact-meta a:hover { color: var(--cyan); }

.site-footer { width: var(--page); margin: 0 auto; padding: 34px 0 40px; border-top: 1px solid var(--line); }
.footer-signature { display: inline-flex; align-items: baseline; gap: 10px; color: var(--muted); font-size: 10px; font-weight: 600; transition: color 200ms ease; }
.footer-signature span { color: var(--cream); font-size: 9px; }
.footer-signature:hover { color: var(--cyan); }

.js .reveal { opacity: 0; filter: blur(8px); transform: translateY(32px); transition: opacity 900ms ease, filter 900ms ease, transform 900ms cubic-bezier(.16,.8,.2,1); }
.js .reveal.is-visible { opacity: 1; filter: blur(0); transform: translateY(0); }

.cursor { position: fixed; z-index: 200; width: 68px; height: 68px; border: 1px solid rgba(131,230,255,.52); border-radius: 50%; pointer-events: none; display: grid; place-items: center; background: rgba(3,15,18,.72); color: var(--cyan-soft); box-shadow: 0 12px 40px rgba(0,0,0,.28); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); transform: translate(-50%,-50%) scale(0); transition: transform 180ms ease; }
.cursor.is-active { transform: translate(-50%,-50%) scale(1); }
.cursor span { font: 9px var(--mono); letter-spacing: .08em; }

:focus-visible { outline: 2px solid var(--cyan); outline-offset: 5px; }

@media (max-width: 900px) {
  :root { --page: calc(100vw - 40px); }
  .site-header { top: 10px; width: calc(100vw - 24px); height: 70px; padding: 0 18px; grid-template-columns: 1fr auto; border-radius: 14px; }
  .desktop-nav, .availability { display: none; }
  .header-actions { grid-column: 2; }
  .menu-toggle { display: block; }
  .hero { min-height: 660px; }
  .hero-kicker { display: none; }
  .hero-copy { left: 50%; right: auto; bottom: 10px; width: calc(100% - 24px); min-height: 0; padding: 17px 18px 18px; display: block; border-radius: 14px; transform: translateX(-50%); }
  .hero h1 { font-size: clamp(34px, 7vw, 50px); line-height: .84; }
  .hero-bottom { width: min(340px, 100%); margin: 17px auto 0; }
  .hero-bottom::before { margin-bottom: 10px; }
  .hero-bottom p { width: auto; }
  .scroll-cue { display: none; }
  .section-pad { padding: 125px 0; }
  .section-heading, .studio-intro { grid-template-columns: 1fr; gap: 35px; margin-bottom: 70px; padding-bottom: 75px; }
  .section-heading h2, .studio-intro h2 { margin: 0; }
  .works-heading { margin-bottom: 0; padding-bottom: 40px; }
  .works-heading h2 { font-size: clamp(34px, 8vw, 58px); white-space: normal; }
  .work-toolbar { align-items: flex-start; gap: 24px; flex-direction: column; padding-top: 22px; }
  .filters { flex-wrap: wrap; }
  .work-grid { gap: 68px 16px; }
  .work-card, .work-card--wide, .work-card--portrait, .work-card--square, .work-card--landscape { grid-column: span 6; margin-top: 0; }
  .studio { padding-top: 140px; }
  .studio-layout { grid-template-columns: 1fr; padding: 54px 0 0; gap: 70px; }
  .studio-profile { position: static; }
  .studio-lead { max-width: 16ch; }
  .studio-bio { max-width: 680px; }
  .statement { width: calc(100% - 20px); height: 75svh; border-radius: 18px; }
  .contact-top { margin-bottom: 70px; }
  .contact-meta { grid-template-columns: repeat(2,1fr); gap: 10px; }
  .contact-meta div { min-height: 135px; }
  .contact-meta div:nth-child(2), .contact-meta div:nth-child(n+3) { border: 1px solid var(--line); }
  .cursor { display: none; }
  .work-card { cursor: pointer; }
}

@media (max-width: 560px) {
  .hero-index { margin-bottom: 7px; }
  .hero h1 { font-size: clamp(30px, 8.8vw, 40px); }
  .hero-copy { padding: 15px 16px 17px; }
  .hero-bottom { width: 100%; margin-top: 14px; }
  .hero-bottom p { width: auto; font-size: 10px; }
  .section-pad { padding: 105px 0; }
  .work-grid { display: block; }
  .work-card { display: block; width: 100%; margin-bottom: 62px; }
  .work-image { border-radius: 11px; }
  .studio-profile { padding: 25px; border-radius: 14px; }
  .services article { grid-template-columns: 32px 1fr; }
  .services article p { grid-column: 2; }
  .contact-meta { grid-template-columns: 1fr; }
  .contact-meta div, .contact-meta div + div { min-height: 122px; padding: 24px; border: 1px solid var(--line); }
  .site-footer { padding: 25px 0 28px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .hero-video { display: none; }
  .hero { background: url("./assets/George%20Israel.jpg") center/cover; }
}
