:root {
  --ink: #111311;
  --panel: #191b18;
  --muted: #6e746b;
  --paper: #f4f0e8;
  --paper-2: #e7dfd2;
  --paper-soft: #d1ccc2;
  --paper-muted: #c6c0b6;
  --line: rgba(244, 240, 232, 0.18);
  --accent: #c6ff6b;
  --amber: #f4b45d;
  --forest: #26362b;
  --white: #ffffff;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.22);
  --radius: 8px;
  --radius-sm: 6px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--paper);
  background: var(--ink);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(180deg, rgba(17, 19, 17, 0.94), rgba(17, 19, 17, 0.98)),
    var(--ink);
}

img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 18px 32px;
  background: rgba(17, 19, 17, 0.72);
  border-bottom: 1px solid rgba(244, 240, 232, 0.1);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 760;
  color: var(--paper);
}

.brand-logo {
  display: grid;
  place-items: center;
  width: 48px;
  height: 42px;
  overflow: visible;
}

.brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.nav {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.nav a {
  padding: 10px 13px;
  color: rgba(244, 240, 232, 0.78);
  font-size: 14px;
  border-radius: var(--radius-sm);
}

.nav a:hover {
  color: var(--paper);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(440px, 1fr);
  gap: 44px;
  align-items: center;
  min-height: calc(100vh - 74px);
  padding: 56px 32px 72px;
}

.hero-copy {
  max-width: 680px;
  margin-left: auto;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 24px;
  font-size: 148px;
  line-height: 0.86;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 22px;
  font-size: 82px;
  line-height: 0.95;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 25px;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 580px;
  color: rgba(244, 240, 232, 0.78);
  font-size: 20px;
  line-height: 1.55;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 14px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 800;
}

.button.primary {
  background: var(--accent);
  color: var(--ink);
  border-color: var(--accent);
}

.button.secondary {
  background: rgba(244, 240, 232, 0.06);
  color: var(--paper);
}

.hero-gallery {
  display: grid;
  grid-template-columns: 1.05fr 0.72fr;
  grid-template-rows: 270px 270px;
  gap: 14px;
  min-height: 554px;
}

.hero-card,
.tile {
  position: relative;
  overflow: hidden;
  margin: 0;
  background: var(--panel);
  border-radius: var(--radius);
}

.hero-card {
  box-shadow: var(--shadow);
}

.hero-card-large {
  grid-row: span 2;
}

figcaption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 8px 10px;
  background: rgba(17, 19, 17, 0.68);
  color: var(--paper);
  font-size: 13px;
  font-weight: 780;
  border-radius: var(--radius-sm);
  backdrop-filter: blur(10px);
}

.section {
  padding: 96px 32px;
}

.split {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  gap: 42px;
  max-width: 1240px;
  margin: 0 auto;
}

.section-heading {
  position: sticky;
  top: 110px;
  align-self: start;
}

.section-heading h2 {
  max-width: 560px;
}

.work-grid {
  display: grid;
  gap: 18px;
}

.work-card {
  display: grid;
  grid-template-columns: 230px 1fr;
  min-height: 230px;
  overflow: hidden;
  background: var(--paper-soft);
  color: var(--ink);
  border-radius: var(--radius);
}

.work-card img {
  width: 100%;
}

.work-card div {
  display: flex;
  flex-direction: column;
  justify-content: end;
  padding: 28px;
}

.work-card p,
.about-copy p,
.contact p {
  color: rgba(17, 19, 17, 0.7);
  line-height: 1.7;
}

.gallery-section {
  background: var(--paper-soft);
  color: var(--ink);
}

.compact {
  max-width: 1040px;
  margin: 0 auto 36px;
}

.gallery-section .eyebrow {
  color: var(--forest);
}

.masonry {
  display: grid;
  grid-auto-flow: dense;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 190px;
  gap: 14px;
  max-width: 1240px;
  margin: 0 auto;
}

.tile {
  background: var(--paper-muted);
}

.tile.tall {
  grid-row: span 2;
}

.tile.wide {
  grid-column: span 2;
}

.about {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 54px;
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
}

.about-image {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--radius);
}

.about-copy {
  padding: 48px;
  background: var(--paper-soft);
  color: var(--ink);
  border-radius: var(--radius);
}

.about-copy h2 {
  font-size: 64px;
}

.check-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.check-list li {
  padding: 13px 0;
  border-top: 1px solid rgba(17, 19, 17, 0.14);
  color: var(--forest);
  font-weight: 780;
}

.contact {
  margin: 32px;
  padding: 76px 32px;
  text-align: center;
  border-radius: var(--radius);
  background:
    linear-gradient(rgba(17, 19, 17, 0.72), rgba(17, 19, 17, 0.72)),
    url("./assets/images/IMG_6548.jpg") center / cover;
}

.contact h2 {
  margin-bottom: 18px;
}

.contact p {
  max-width: 620px;
  margin: 0 auto 30px;
  color: rgba(244, 240, 232, 0.78);
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 28px 32px 40px;
  color: rgba(244, 240, 232, 0.62);
  font-size: 14px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

  .nav {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 42px 18px 64px;
  }

  h1 {
    font-size: 112px;
  }

  h2 {
    font-size: 64px;
  }

  .about-copy h2 {
    font-size: 52px;
  }

  .hero-copy {
    margin-left: 0;
  }

  .hero-gallery {
    grid-template-rows: 250px 250px;
    min-height: 514px;
  }

  .split,
  .about {
    grid-template-columns: 1fr;
  }

  .section-heading {
    position: static;
  }

  .masonry {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  h1 {
    font-size: 68px;
  }

  h2 {
    font-size: 42px;
  }

  .hero-lede {
    font-size: 18px;
  }

  .hero-gallery {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(3, 230px);
  }

  .hero-card-large {
    grid-row: span 1;
  }

  .section {
    padding: 70px 18px;
  }

  .work-card {
    grid-template-columns: 1fr;
  }

  .work-card img {
    height: 230px;
  }

  .masonry {
    grid-template-columns: 1fr;
    grid-auto-rows: 240px;
  }

  .tile.tall,
  .tile.wide {
    grid-column: span 1;
    grid-row: span 1;
  }

  .about-copy {
    padding: 30px 22px;
  }

  .contact {
    margin: 18px;
    padding: 62px 20px;
  }

  .footer {
    flex-direction: column;
    padding: 24px 18px 34px;
  }
}
