:root {
  --bg: #000000;
  --fg: #F2F0EB;
  --muted: #A3A09A;
  --line: #4A4844;
  --ph: #161616;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  font-size: 15px;
  line-height: 1.5;
  min-height: 100vh;
}

a { color: inherit; }
a:hover, button:hover { opacity: 0.7; }

.display {
  font-family: 'Bebas Neue', 'Arial Narrow', sans-serif;
  font-weight: 400;
}

/* Header */
.site-header {
  max-width: 1360px;
  margin: 0 auto;
  padding: 48px 40px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}
.logo {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}
.logo-name {
  font-family: 'Bebas Neue', 'Arial Narrow', sans-serif;
  font-size: 40px;
  line-height: 1;
  letter-spacing: 0.16em;
}
.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 32px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.08em;
}
.nav a, .nav button {
  text-decoration: none;
  font: inherit;
  color: inherit;
  letter-spacing: 0.08em;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  padding: 10px 2px;
  min-height: 44px;
  cursor: pointer;
}
.nav [aria-pressed="true"], .nav [aria-current="page"] {
  border-bottom-color: var(--fg);
}

/* Home page: brand name and categories centered, "Serving Atlanta & Chicago" at the bottom */
.home { display: flex; flex-direction: column; }
.home .site-header { margin: auto; padding-top: 24px; gap: 28px; }
.home .site-footer { margin: 0; max-width: none; }
.home .logo { margin: 0; font-weight: inherit; cursor: default; }
.home .logo-name { font-size: 72px; }
.home .nav { font-size: 16px; }

/* Video placeholders / embeds */
.media {
  width: 100%;
  background: var(--ph);
  border: 1px dashed var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 12px;
  color: var(--muted);
  font-size: 13px;
  overflow: hidden;
}
.media.wide { aspect-ratio: 16 / 9; }
.media.tall { aspect-ratio: 9 / 16; }
.media iframe, .media video, .media img {
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}
.media video { object-fit: contain; background: #000; }
.media:has(iframe), .media:has(video), .media:has(img) { padding: 0; border: none; }

/* Category pages */
.main {
  max-width: 1360px;
  margin: 0 auto;
  padding: 24px 40px 96px;
  display: flex;
  flex-direction: column;
  gap: 56px;
}
.intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}
.intro h1 {
  margin: 0;
  font-family: 'Bebas Neue', 'Arial Narrow', sans-serif;
  font-weight: 400;
  font-size: clamp(56px, 8vw, 104px);
  line-height: 1;
  letter-spacing: 0.12em;
}
.intro p {
  margin: 0;
  max-width: 640px;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
/* Phones and other portrait screens: one video per row, in order, to scroll through */
.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px 20px;
  max-width: 880px;
  width: 100%;
  margin: 0 auto;
  container-type: inline-size;
}
/* Vertical (9:16) edits: in one column, a centered tall box */
.project.vertical { justify-self: center; width: min(100%, 360px); }
/* Wide landscape screens: the 2×2 grid. The tall box spans two rows: its height equals two 16:9 boxes plus the row gap */
@media (min-width: 700px) and (orientation: landscape) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .project.vertical {
    grid-row: span 2;
    width: calc(((100cqw - 20px) / 2 * 9 / 16 * 2 + 28px) * 9 / 16);
  }
}
.project {
  position: relative;
  text-decoration: none;
  display: flex;
  flex-direction: column;
}
/* The title is centered over the video in bold white and appears only on hover (hidden while a video plays) */
.project-title {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  text-align: center;
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  font-size: clamp(18px, 2.4vw, 30px);
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}
.project:hover .project-title { opacity: 1; }
.project.playing .project-title { opacity: 0; }
/* Full-screen button for self-hosted videos (added by video.js) */
.expand {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 1;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: none;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.project:hover .expand, .expand:focus-visible { opacity: 1; }
/* Before the video starts, the whole box is the play control */
.idle video { cursor: pointer; }
@media (hover: none) { .expand { opacity: 1; } }
.packages {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
  border-top: 1px solid var(--line);
  padding-top: 56px;
}
.packages .button { font-weight: 800; }
.button {
  text-decoration: none;
  font: inherit;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--fg);
  border: none;
  border-radius: 4px;
  padding: 16px 28px;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}

/* Contact */
.contact {
  max-width: 640px;
  margin: 0 auto;
  padding: 48px 40px 96px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.contact-head { display: flex; flex-direction: column; gap: 10px; text-align: center; }
.contact-head h1 {
  margin: 0;
  font-weight: 800;
  font-size: clamp(32px, 4.5vw, 48px);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.contact-head p { margin: 0; font-size: 17px; line-height: 1.8; }
form { display: flex; flex-direction: column; gap: 18px; }
.row { display: flex; flex-wrap: wrap; gap: 18px; }
.message-field { margin-top: 84px; }
.field { flex: 1 1 220px; display: flex; flex-direction: column; gap: 6px; }
label {
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
input, select, textarea {
  font: inherit;
  color: var(--fg);
  background: transparent;
  padding: 12px 14px;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 4px;
}
select { background: var(--bg); }
textarea { resize: vertical; }
input[type="date"] { color-scheme: dark; }
.checks { flex: none; border: none; margin: 0; padding: 0; min-width: 0; }
.checks legend {
  padding: 0;
  margin-bottom: 6px;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.check-options { display: flex; flex-wrap: wrap; gap: 28px; }
.check { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.check input {
  width: 20px;
  height: 20px;
  min-height: 0;
  padding: 0;
  margin: 0;
  accent-color: var(--fg);
  cursor: pointer;
}
.hidden { display: none; }
form .button { align-self: center; }

/* Footer */
.site-footer {
  max-width: 1360px;
  margin: 0 auto;
  padding: 24px 40px 48px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.06em;
}

@media (max-width: 600px) {
  .site-header, .main, .contact, .site-footer { padding-left: 16px; padding-right: 16px; }
  .nav { gap: 20px; }
  .logo-name { font-size: min(34px, calc((100vw - 32px) / 9.5)); white-space: nowrap; }
  .home .logo-name { font-size: min(48px, calc((100vw - 32px) / 9.5)); }
  }

/* Phones held upright: the home page fits the visible screen (above the browser bar) and doesn't scroll */
@media (max-width: 600px) and (orientation: portrait) {
  html:has(body.home) { overflow: hidden; overscroll-behavior: none; }
  .home { height: 100vh; height: 100dvh; min-height: 0; overflow: hidden; overscroll-behavior: none; }
}

/* Page transitions: the page slides sideways while the logo and menu glide into their new spot */
@view-transition { navigation: auto; }
.logo { view-transition-name: logo; }
.nav { view-transition-name: nav; }
::view-transition-group(*) { animation-duration: 0.45s; animation-timing-function: cubic-bezier(0.2, 0.8, 0.2, 1); }
::view-transition-old(root) { animation: 0.3s cubic-bezier(0.4, 0, 1, 1) both page-out; }
::view-transition-new(root) { animation: 0.45s cubic-bezier(0.2, 0.8, 0.2, 1) both page-in; }
html:active-view-transition-type(back)::view-transition-old(root) { animation-name: page-out-back; }
html:active-view-transition-type(back)::view-transition-new(root) { animation-name: page-in-back; }
@keyframes page-out { to { opacity: 0; transform: translateX(-48px); } }
@keyframes page-in { from { opacity: 0; transform: translateX(48px); } }
@keyframes page-out-back { to { opacity: 0; transform: translateX(48px); } }
@keyframes page-in-back { from { opacity: 0; transform: translateX(-48px); } }
@media (prefers-reduced-motion: reduce) {
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
}
