:root {
  --ink: #111311;
  --paper: #f4f2ed;
  --copper: #c97843;
  --line: #d8d4cb;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  display: block;
}
.shell {
  width: min(1180px, calc(100% - 48px));
  margin: auto;
}
.nav {
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 2;
  border-bottom: 1px solid currentColor;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  letter-spacing: 0.12em;
}
.brand-logo {
  display: block;
  width: 88px;
  height: 88px;
  object-fit: contain;
  object-position: left center;
}
.brand b {
  display: block;
  font-size: 0.66rem;
  letter-spacing: 0.28em;
  font-weight: 500;
  opacity: 0.7;
}
.mark {
  width: 39px;
  height: 39px;
  border: 1px solid;
  display: grid;
  place-items: center;
  font: 600 1.35rem Georgia;
}
.links {
  display: flex;
  gap: 28px;
  font-size: 0.88rem;
}
.links a:hover {
  color: var(--copper);
}
.whatsapp,
.button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}
.hero {
  min-height: 760px;
  height: 100vh;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(5, 7, 6, 0.75), rgba(5, 7, 6, 0.08)),
    url("../images/apex-hero.jpg") center/cover;
}
.hero-copy {
  padding-top: clamp(110px, 18vh, 180px);
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.72rem;
  font-weight: 700;
  color: #8b887f;
}
.hero .eyebrow,
.dark .eyebrow {
  color: #bbb;
}
h1,
h2 {
  font-family: Georgia, serif;
  font-weight: 400;
  letter-spacing: -0.045em;
  margin: 0;
}
h1 {
  font-size: clamp(4rem, 8vw, 7.5rem);
  line-height: 0.9;
}
.intro {
  max-width: 580px;
  font-size: 1.1rem;
  line-height: 1.7;
  color: #ddd;
  margin: 28px 0;
}
.button {
  background: var(--copper);
  color: #fff;
  padding: 17px 24px;
}
.statement {
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 40px;
  padding: 130px 0;
}
.statement h2,
.section-head h2 {
  font-size: clamp(3rem, 5.5vw, 5.6rem);
  line-height: 1;
}
.statement p:last-child {
  max-width: 650px;
  margin: 35px 0 0 auto;
  line-height: 1.8;
  color: #5f5f59;
  font-size: 1.1rem;
}
.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
}
.split img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 650px;
}
.dark {
  background: #171a18;
  color: #fff;
  padding: 90px;
}
.dark h2 {
  font-size: clamp(3rem, 5vw, 5rem);
}
.dark li {
  padding: 22px 0;
  border-bottom: 1px solid #ffffff2a;
  line-height: 1.6;
}
.cta {
  text-align: center;
  background: #111;
  color: #fff;
  padding: 120px 24px;
}
.cta h2 {
  font-size: clamp(4rem, 8vw, 7rem);
  margin: 12px 0 35px;
}
.footer {
  padding: 45px 0;
  display: flex;
  justify-content: space-between;
  color: #777;
  font-size: 0.8rem;
}
.page-nav {
  color: var(--ink);
}
.section-head {
  padding: 100px 0 75px;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  align-items: end;
}
.section-head p:last-child {
  line-height: 1.7;
  color: #686861;
}
.cards {
  display: grid;
  gap: 90px;
  padding-bottom: 120px;
}
.card img {
  width: 100%;
  aspect-ratio: 16/8;
  object-fit: cover;
}
.card-info {
  display: grid;
  grid-template-columns: 65px 1fr;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}
.card h2 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
}
.card p {
  color: #686861;
  line-height: 1.65;
}
.portfolio {
  background: #111411;
  color: #fff;
  min-height: 100vh;
}
.portfolio .page-nav {
  color: #fff;
}
.project-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 55px 24px;
  padding-bottom: 100px;
}
.project:first-child {
  grid-column: 1/-1;
}
.project img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.project:first-child img {
  aspect-ratio: 16/8;
}
.project h2 {
  font-size: 2.2rem;
  margin-top: 15px;
}
.project span {
  color: var(--copper);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}
.live {
  background: #111411;
  color: #fff;
  min-height: 100vh;
}
.camera-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding-bottom: 110px;
}
.camera {
  border: 1px solid #343834;
  background: #1a1e1b;
}
.feed {
  aspect-ratio: 16/9;
  background:
    linear-gradient(#0002, #000b),
    url("../images/apex-build.jpg") center/cover;
  display: grid;
  place-items: center;
  text-align: center;
}
.badge {
  background: #111d;
  padding: 10px 15px;
  color: #e49a69;
  letter-spacing: 0.15em;
  font-size: 0.75rem;
}
.camera-info {
  padding: 22px;
}
.camera-info h2 {
  font-family: Arial;
  font-size: 1.6rem;
  margin-top: 7px;
}
.note {
  grid-column: 1/-1;
  border-left: 2px solid var(--copper);
  padding: 20px;
  color: #aaa;
}
.edit-note {
  background: #fff8d9;
  border: 1px solid #e7d986;
  padding: 15px;
  line-height: 1.5;
  margin: 20px auto;
  width: min(1180px, calc(100% - 48px));
}
@media (max-width: 800px) {
  .links {
    display: none;
  }
  .statement,
  .split,
  .section-head,
  .project-grid,
  .camera-grid {
    grid-template-columns: 1fr;
  }
  .dark {
    padding: 65px 25px;
  }
  .project:first-child {
    grid-column: auto;
  }
  .card img,
  .project:first-child img {
    aspect-ratio: 4/3;
  }
  .statement {
    padding: 85px 0;
  }
  .section-head {
    gap: 25px;
  }
  .note {
    grid-column: auto;
  }
}
@media (max-width: 520px) {
  .shell {
    width: calc(100% - 30px);
  }
  .whatsapp {
    font-size: 0;
  }
  .hero-copy {
    padding-top: 120px;
  }
  .footer {
    display: block;
    text-align: center;
  }
  .footer > * {
    margin: 10px;
  }
}
