:root {
  --ink: #090a08;
  --paper: #ece8dc;
  --muted: #a4a296;
  --line: rgba(236, 232, 220, 0.22);
  --acid: #d7ff45;
  --orange: #ff6b35;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-geist-sans), Arial, sans-serif;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  content: "";
  opacity: 0.035;
  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='.9'/%3E%3C/svg%3E");
}

a {
  color: inherit;
  text-decoration: none;
}

img,
video {
  display: block;
  max-width: 100%;
}

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
  display: grid;
  width: 100%;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 26px 3vw;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
}

.wordmark {
  width: fit-content;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.05em;
}

.wordmark span {
  color: var(--acid);
}

.site-header nav {
  display: flex;
  gap: clamp(20px, 4vw, 54px);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.site-header nav a,
.header-note,
.scroll-link,
footer a {
  transition: opacity 180ms ease;
}

.site-header nav a:hover,
.scroll-link:hover,
footer a:hover {
  opacity: 0.62;
}

.header-note {
  margin: 0;
  justify-self: end;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  grid-template-columns: minmax(0, 0.93fr) minmax(0, 1.07fr);
  overflow: hidden;
  background: #10110e;
}

.hero-copy {
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 138px 5vw 72px;
}

.hero h1,
.section-heading h2,
.about-copy h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -0.065em;
}

.hero h1 {
  position: relative;
  z-index: 3;
  margin-right: -10vw;
  font-size: clamp(5rem, 10vw, 10.2rem);
  line-height: 0.72;
}

.hero h1 em,
.about-copy h2 em {
  color: var(--acid);
  font-weight: 400;
}

.hero-intro {
  max-width: 420px;
  margin: 50px 0 34px;
  color: rgba(236, 232, 220, 0.75);
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  line-height: 1.55;
}

.scroll-link {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 18px;
  padding-bottom: 6px;
  border-bottom: 1px solid currentColor;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.scroll-link span {
  color: var(--acid);
  font-size: 1.2rem;
}

.hero-visual {
  position: relative;
  min-height: 100svh;
  margin: 0;
  overflow: hidden;
}

.hero-visual::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(9, 10, 8, 0.55), transparent 35%),
    linear-gradient(0deg, rgba(9, 10, 8, 0.48), transparent 40%);
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-visual figcaption {
  position: absolute;
  right: 3vw;
  bottom: 28px;
  left: 3vw;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.66rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero-number {
  position: absolute;
  right: -0.03em;
  bottom: -0.22em;
  z-index: 2;
  margin: 0;
  color: rgba(255, 255, 255, 0.11);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(12rem, 32vw, 32rem);
  line-height: 1;
  pointer-events: none;
}

.section {
  padding: clamp(90px, 12vw, 180px) 3vw;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 30px;
  margin-bottom: clamp(60px, 8vw, 120px);
}

.section-heading .eyebrow {
  align-self: center;
}

.section-heading h2 {
  justify-self: center;
  font-size: clamp(4.5rem, 9vw, 9rem);
  line-height: 0.8;
}

.section-heading>p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

.meilleurs {
  justify-self: end;
  text-align: right;
  transform: translateY(6px);
}

.projects-section {
  background: var(--ink);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(64px, 9vw, 130px) 3vw;
}

.project-card {
  min-width: 0;
}

.project-featured {
  grid-column: 1 / -1;
}

.video-shell {
  position: relative;
  overflow: hidden;
  background: #000;
}

.video-shell::before {
  display: block;
  padding-top: 56.25%;
  content: "";
}

.video-shell video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}

.project-featured .video-shell {
  max-height: 82svh;
}

.project-meta {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.project-index,
.project-type,
.project-description {
  margin: 0;
}

.project-index,
.project-type {
  color: var(--muted);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.project-card h3 {
  margin: 7px 0 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 3vw, 3rem);
  font-weight: 400;
  letter-spacing: -0.045em;
}

.project-description {
  max-width: 600px;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.65;
}

.photo-section {
  overflow: hidden;
  background: var(--paper);
  color: var(--ink);
}

.photo-section .eyebrow {
  color: #4d5b0a;
}

.photo-heading {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
}

.photo-heading .photo-camera {
  margin: 0;
  color: #5d5b52;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.photo-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr;
  gap: 3vw;
  align-items: start;
}

.photo-card {
  margin: 0;
}

.photo-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: saturate(0.96);
  transition: filter 350ms ease, transform 550ms cubic-bezier(0.2, 0.7, 0, 1);
}

.photo-card:hover img {
  filter: saturate(1.08);
  transform: scale(1.012);
}

.photo-wide {
  grid-row: span 2;
}

.photo-wide img {
  aspect-ratio: 4 / 5;
}

.photo-card figcaption {
  display: grid;
  grid-template-columns: 48px 1fr;
  padding: 14px 0 28px;
  border-top: 1px solid rgba(9, 10, 8, 0.24);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.photo-card figcaption strong {
  font-weight: 500;
}

.about-section {
  position: relative;
  display: grid;
  min-height: 85svh;
  grid-template-columns: minmax(150px, 0.72fr) minmax(220px, 0.64fr) minmax(280px, 0.9fr);
  gap: clamp(32px, 5vw, 8vw);
  align-items: center;
  overflow: hidden;
  padding: clamp(100px, 14vw, 210px) 5vw;
  background: #161712;
}

.about-number {
  position: absolute;
  right: -0.08em;
  bottom: -0.28em;
  margin: 0;
  color: rgba(215, 255, 69, 0.055);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(15rem, 42vw, 42rem);
  line-height: 1;
  pointer-events: none;
}

.about-copy,
.about-visuals,
.about-text {
  position: relative;
  z-index: 2;
}

.about-visuals {
  align-self: center;
  width: min(100%, 330px);
  margin: 0 auto;
}

.about-visuals figure {
  margin: 0;
}

.about-portrait {
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: #25261f;
}

.about-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
  filter: saturate(0.88) contrast(1.04);
}

.about-camera {
  width: 62%;
  margin: -21% -10% 0 auto !important;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border: 5px solid #161712;
  background: #0d0e0b;
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.28);
}

.about-camera img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 56% center;
  filter: sepia(0.14) saturate(0.72) contrast(1.08);
}

.about-copy h2 {
  font-size: clamp(3.2rem, 6vw, 6.7rem);
  line-height: 0.92;
}

.about-text {
  align-self: end;
  padding-bottom: 3vw;
}

.about-text>p {
  margin: 0 0 24px;
  color: #c7c4b9;
  font-size: clamp(1rem, 1.35vw, 1.2rem);
  line-height: 1.7;
}

.skills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 42px;
}

.skills span {
  padding: 9px 13px;
  border: 1px solid rgba(236, 232, 220, 0.28);
  border-radius: 999px;
  color: #d8d5ca;
  font-size: 0.68rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 20px;
  padding: 28px 3vw;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

footer p {
  margin: 0;
}

footer p:nth-child(2) {
  text-align: center;
}

footer a {
  justify-self: end;
}

@media (max-width: 820px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-header nav {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    min-height: 75svh;
    justify-content: flex-end;
    padding-bottom: 55px;
  }

  .hero h1 {
    margin-right: 0;
    font-size: clamp(4.8rem, 20vw, 8rem);
  }

  .hero-visual {
    min-height: 55svh;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .section-heading h2 {
    margin: 8px 0 16px;
  }

  .section-heading>p:last-child {
    max-width: 500px;
  }

  .meilleurs {
    justify-self: start;
    text-align: left;
    transform: none;
  }

  .photo-heading {
    align-items: flex-start;
  }

  .about-section {
    min-height: auto;
    grid-template-columns: minmax(140px, 0.45fr) minmax(200px, 0.55fr);
    gap: 48px;
  }

  .about-text {
    max-width: 570px;
    grid-column: 2;
  }

  .about-visuals {
    grid-column: 2;
    grid-row: 1;
    justify-self: start;
    width: min(100%, 290px);
  }
}

@media (max-width: 620px) {
  .site-header {
    padding: 20px;
  }

  .header-note {
    font-size: 0.62rem;
  }

  .hero-copy {
    padding-right: 20px;
    padding-left: 20px;
  }

  .hero h1 {
    font-size: clamp(4.25rem, 22vw, 6rem);
  }

  .hero-intro {
    margin-top: 38px;
  }

  .section {
    padding-right: 20px;
    padding-left: 20px;
  }

  .photo-heading {
    flex-direction: column;
    gap: 10px;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .project-featured {
    grid-column: auto;
  }

  .project-meta {
    grid-template-columns: 40px 1fr;
  }

  .photo-grid {
    grid-template-columns: 1fr;
  }

  .photo-wide {
    grid-row: auto;
  }

  .photo-wide img,
  .photo-card img {
    aspect-ratio: 4 / 3;
  }

  .about-section {
    grid-template-columns: 1fr;
    gap: 42px;
    padding-right: 20px;
    padding-left: 20px;
  }

  .about-visuals,
  .about-text {
    grid-column: auto;
    grid-row: auto;
  }

  .about-visuals {
    justify-self: start;
    width: min(82vw, 290px);
  }

  footer {
    grid-template-columns: 1fr;
    padding: 28px 20px;
  }

  footer p:nth-child(2) {
    text-align: left;
  }

  footer a {
    justify-self: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .photo-card img {
    transition: none;
  }
}

.eyebrow {
  text-align: left;
  color: var(--acid);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
