/* ===================================================================
   PANGU PRODUCTIONS — static site
   Monochrome, editorial, full-bleed imagery. No framework, no build
   step — open any .html file, or drop the folder on a static host.
   =================================================================== */

:root {
  --ink: #111111;
  --paper: #ffffff;
  --grey: #6f6f6f;
  --grey-line: #e6e6e6;
  --overlay: rgba(10, 10, 10, 0.55);
  --header-h: 76px;
  --max: 1600px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Inter", -apple-system, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img, iframe { display: block; max-width: 100%; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 18px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--grey-line);
}

/* Homepage-only variant: floats transparently over the full-bleed hero
   image instead of sitting in a solid white bar above it. */
.site-header--overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: transparent;
  border-bottom: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.site-header--overlay .site-nav a { color: #fff; }
.site-header--overlay .site-nav a:hover,
.site-header--overlay .site-nav a:focus-visible { border-bottom-color: #fff; }

.brand img {
  height: 92px;
  width: auto;
}

@media (max-width: 640px) {
  .brand img { height: 56px; }
}

.site-nav {
  display: flex;
  gap: 32px;
}

.site-nav a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  padding: 8px 2px;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="page"] {
  border-bottom-color: var(--ink);
}

.site-nav a:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

/* ---------- Hero (home) ---------- */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #000;
}

.hero img,
.hero video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 40px;
  max-width: 780px;
}

.hero-content h1 {
  color: #fff;
  font-size: clamp(28px, 4.4vw, 46px);
  line-height: 1.28;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0;
}

.hero-cta {
  margin-top: 28px;
  display: inline-flex;
  gap: 16px;
}

.btn {
  display: inline-block;
  padding: 13px 26px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid #fff;
  color: #fff;
  transition: background 0.2s ease, color 0.2s ease;
}

.btn:hover { background: #fff; color: var(--ink); }

.btn.btn-dark {
  border-color: var(--ink);
  color: var(--ink);
}

.btn.btn-dark:hover { background: var(--ink); color: #fff; }

/* ---------- Generic page sections ---------- */

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 84px 32px;
}

.section-narrow {
  max-width: 820px;
  margin: 0 auto;
  padding: 84px 32px;
}

.page-title {
  font-size: clamp(30px, 5vw, 44px);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 26px;
}

.lede {
  font-size: 18px;
  line-height: 1.75;
  color: #2b2b2b;
  margin: 0 0 20px;
}

.section-image {
  width: 100%;
  height: clamp(240px, 40vw, 520px);
  object-fit: cover;
}

/* ---------- Two-column page layout (Services / About / Contact) ---------- */

.split {
  max-width: var(--max);
  margin: 0 auto;
  padding: 88px 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.split-text .page-title { margin-bottom: 24px; }

@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; padding: 56px 24px; gap: 40px; }
}

/* ---------- Services accordion ---------- */

.services-accordion {
  display: flex;
  flex-direction: column;
}

.service-item {
  border-bottom: 1px solid var(--grey-line);
  padding: 6px 0;
}

.service-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 4px;
  font-size: 16px;
  font-weight: 500;
}

.service-item summary::-webkit-details-marker { display: none; }

.service-item summary .chevron {
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
  transition: transform 0.2s ease;
  color: var(--grey);
}

.service-item[open] summary .chevron { transform: rotate(180deg); }

.service-item p {
  margin: 0;
  padding: 0 4px 22px;
  font-size: 15.5px;
  line-height: 1.75;
  color: #333;
}

/* ---------- Work page ---------- */

.work-intro {
  max-width: var(--max);
  margin: 0 auto;
  padding: 72px 40px 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: end;
}

.work-intro .page-title { margin: 0; }
.work-intro .lede { margin: 0; }

@media (max-width: 900px) {
  .work-intro { grid-template-columns: 1fr; padding: 48px 24px 32px; }
}

.reel-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 3px 3px;
}

.reel-item {
  position: relative;
  overflow: hidden;
  background: #000;
}

.reel-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
}

.reel-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ---------- About page image ---------- */

.about-image-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 24px;
}

.about-image-wrap img {
  width: 100%;
  max-width: 480px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 50%;
}

@media (max-width: 900px) {
  .about-image-wrap { padding-top: 0; }
}

/* ---------- Contact ---------- */

.contact-details {
  margin: 28px 0 40px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 17px;
}

.contact-details a { border-bottom: 1px solid var(--grey-line); }
.contact-details a:hover { border-bottom-color: var(--ink); }

.contact-image-wrap img {
  width: 100%;
  height: clamp(260px, 34vw, 420px);
  object-fit: cover;
}

.contact-form {
  border-top: 1px solid var(--grey-line);
  padding-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

@media (max-width: 560px) {
  .form-row { grid-template-columns: 1fr; }
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #cfcfcf;
  border-radius: 22px;
  padding: 13px 18px;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  background: #fff;
}

.contact-form textarea {
  border-radius: 16px;
  min-height: 120px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--ink);
}

.contact-form button {
  align-self: flex-start;
  padding: 13px 30px;
  background: var(--ink);
  color: #fff;
  border: none;
  border-radius: 22px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.contact-form button:hover { opacity: 0.85; }

.form-note {
  font-size: 13px;
  color: var(--grey);
  margin-top: -6px;
}

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--grey-line);
  padding: 30px 32px 44px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
  color: var(--grey);
  letter-spacing: 0.04em;
}

.site-footer a {
  color: var(--ink);
  border-bottom: 1px solid var(--grey-line);
}

.site-footer a:hover { border-bottom-color: var(--ink); }

/* ---------- Responsive ---------- */

@media (max-width: 1100px) {
  .reel-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 620px) {
  .reel-grid { grid-template-columns: 1fr; }
  .site-header { padding: 0 18px; }
  .site-nav { gap: 18px; }
  .hero-content { padding: 0 22px 48px; }
}
