/* ==========================================================================
   PPU — Plumbers' Photographer Union
   Design tokens
   ========================================================================== */
:root {
  --accent: #a15085;
  --accent-dark: #7e3c68;
  --accent-light: #f3e4ee;
  --ink: #140808;
  --ink-soft: #2b2b2b;
  --muted: #6b6b6b;
  --line: #e6e2e0;
  --bg: #ffffff;
  --bg-alt: #f8f5f6;
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-pill: 999px;
  --shadow: 0 12px 30px -12px rgba(20, 8, 8, 0.18);
  --container: 1120px;
  --font-head: "Fraunces", "Iowan Old Style", "Georgia", serif;
  --font-body: "DM Sans", "Segoe UI", sans-serif;
}

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

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.4rem, 5vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1em; color: var(--ink-soft); }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 88px 0; }
.section--alt { background: var(--bg-alt); }
.section-tight { padding: 56px 0; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.lede {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 620px;
}

.center { text-align: center; margin-left: auto; margin-right: auto; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

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

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

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

.btn--sm { padding: 10px 20px; font-size: 0.85rem; }

/* ==========================================================================
   Header / Nav
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 18px 24px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.98), rgba(255,255,255,0.9));
  backdrop-filter: blur(8px);
}

.nav-shell {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 8px 8px 8px 16px;
  box-shadow: 0 8px 24px -16px rgba(20,8,8,0.25);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  color: var(--ink);
}
.brand img { width: 34px; height: 34px; border-radius: 8px; }
.brand span { display: none; }
@media (min-width: 980px) {
  .brand span { display: inline; }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: nowrap;
}

.nav-links a {
  display: inline-block;
  white-space: nowrap;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.86rem;
  padding: 9px 13px;
  border-radius: var(--radius-pill);
  color: var(--ink);
  transition: background 0.15s ease, color 0.15s ease;
}

.nav-links a:hover { background: var(--accent-light); }
.nav-links a[aria-current="page"] { background: var(--accent); color: #fff; }

.nav-cta { display: none; }
@media (min-width: 700px) {
  .nav-cta { display: inline-flex; }
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: var(--ink);
  color: #fff;
  cursor: pointer;
  flex-shrink: 0;
}
@media (min-width: 700px) {
  .nav-toggle { display: none; }
}

.nav-links-wrap {
  display: none;
  min-width: 0;
}
@media (min-width: 700px) {
  .nav-links-wrap { display: flex; min-width: 0; }
}

.mobile-menu {
  display: none;
  max-width: var(--container);
  margin: 8px auto 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.mobile-menu.is-open { display: block; }
.mobile-menu a {
  display: block;
  padding: 16px 24px;
  font-family: var(--font-head);
  font-weight: 600;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu a[aria-current="page"] { color: var(--accent); }
@media (min-width: 700px) {
  .mobile-menu { display: none !important; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  padding: 72px 0 40px;
  text-align: center;
}
.hero--watermarked {
  position: relative;
  overflow: hidden;
  min-height: min(700px, 88vw);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(640px, 80vw);
  height: min(640px, 80vw);
  transform: translate(-50%, -50%);
  opacity: 0.16;
  z-index: 0;
  pointer-events: none;
  user-select: none;
}
.hero-content {
  position: relative;
  z-index: 1;
}
.mcgill-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0 auto 22px;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  background: var(--accent-light);
  color: var(--accent-dark);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.86rem;
}
.mcgill-badge svg { flex-shrink: 0; }
.hero h1 { max-width: 780px; margin: 0 auto 20px; }
.hero .lede { margin: 0 auto 32px; }
.hero-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* ==========================================================================
   Service cards
   ========================================================================== */
.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  margin-top: 48px;
}
@media (min-width: 720px) {
  .card-grid { grid-template-columns: repeat(3, 1fr); }
}

.service-card {
  display: block;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--accent); }
.service-card:hover .card-link { color: var(--accent); }
.service-card:hover .card-link svg { transform: translateX(3px); }

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.86rem;
  color: var(--ink);
}
.card-link svg { transition: transform 0.15s ease; }

.service-card__media {
  height: 260px;
  overflow: hidden;
  background: var(--accent-light);
}
.service-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.service-card__body { padding: 24px 26px 30px; }
.service-card__body h3 { margin-bottom: 8px; }
.service-card__body p { margin: 0; color: var(--muted); font-size: 0.98rem; }

/* ==========================================================================
   Portfolio / Instagram teaser
   ========================================================================== */
.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}
@media (min-width: 860px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--reverse { direction: rtl; }
  .split--reverse > * { direction: ltr; }
}

.reel-frame {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow);
  max-width: 360px;
  margin: 0 auto;
}
.reel-frame img { width: 100%; aspect-ratio: 9/14; object-fit: cover; }
.reel-frame .play-badge {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(20,8,8,0.15);
}
.reel-frame .play-badge svg {
  width: 56px;
  height: 56px;
  color: #fff;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.4));
}

.stat-row {
  display: flex;
  gap: 32px;
  margin: 28px 0;
  flex-wrap: wrap;
}
.stat-row strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.8rem;
  color: var(--accent);
}
.stat-row span { font-size: 0.85rem; color: var(--muted); }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-list {
  max-width: 760px;
  margin: 40px auto 0;
  border-top: 1px solid var(--line);
}
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 4px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.02rem;
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .chev {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  transition: transform 0.2s ease;
  color: var(--accent);
}
.faq-item[open] summary .chev { transform: rotate(180deg); }
.faq-item p { padding: 0 4px 22px; margin: 0; color: var(--muted); max-width: 640px; }

/* ==========================================================================
   Pricing
   ========================================================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  margin-top: 48px;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}
@media (min-width: 720px) {
  .pricing-grid { grid-template-columns: 1fr 1fr; }
}

.price-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 36px 32px;
  background: #fff;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.price-card--highlight { border-color: var(--accent); position: relative; }
.price-card--highlight::before {
  content: "Most booked";
  position: absolute;
  top: -13px;
  right: 28px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
}

.price-card h3 { font-size: 1.1rem; color: var(--muted); font-weight: 600; margin-bottom: 18px; }
.price-card .price {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 2.6rem;
  margin-bottom: 22px;
}
.price-card .price span { font-size: 1rem; font-weight: 500; color: var(--muted); }

.price-card ul {
  list-style: none;
  padding: 0;
  margin: 26px 0 0;
  border-top: 1px solid var(--line);
  padding-top: 22px;
}
.price-card li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 12px;
  font-size: 0.95rem;
  color: var(--ink-soft);
}
.price-card li svg { width: 18px; height: 18px; color: var(--accent); flex-shrink: 0; margin-top: 2px; }

.pricing-note {
  max-width: 680px;
  margin: 40px auto 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.92rem;
}

/* ==========================================================================
   Team
   ========================================================================== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 44px;
}
@media (min-width: 640px) { .team-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 960px) { .team-grid { grid-template-columns: repeat(4, 1fr); } }

.team-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.team-card img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
}
.team-card__body { padding: 18px 18px 20px; }
.team-card__body h3 { font-size: 1.02rem; margin-bottom: 2px; }
.team-card__body .role { font-size: 0.85rem; color: var(--accent); font-weight: 600; margin-bottom: 4px; }
.team-card__body .meta { font-size: 0.8rem; color: var(--muted); margin-bottom: 8px; }
.team-card__body .handle { font-family: var(--font-head); font-weight: 600; font-size: 0.85rem; color: var(--ink); }
.team-card__body .handle:hover { color: var(--accent); }
.team-card__body .portfolio-link {
  display: inline-block;
  margin-bottom: 6px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.team-card__body .portfolio-link:hover { color: var(--accent-dark); }

.team-card--alumni img { filter: grayscale(0.6); opacity: 0.85; }
.team-card--alumni .role { color: var(--muted); }

.team-empty-state {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
  padding: 48px 32px;
  border: 1px dashed var(--line);
  border-radius: var(--radius-md);
  background: var(--bg-alt);
}
.team-empty-state p { margin: 0; color: var(--muted); }

.team-empty-note {
  text-align: center;
  color: var(--muted);
  font-size: 0.92rem;
  margin-top: 32px;
}

/* ==========================================================================
   What we shoot (category strip)
   ========================================================================== */
.category-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 44px;
}
@media (min-width: 720px) { .category-strip { grid-template-columns: repeat(5, 1fr); } }

.category-tile {
  display: block;
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 3/4;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.category-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.category-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s ease; }
.category-tile:hover img { transform: scale(1.06); }
.category-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20,8,8,0.85), rgba(20,8,8,0) 55%);
}
.category-tile span {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.92rem;
  line-height: 1.25;
}

/* ==========================================================================
   Booking form
   ========================================================================== */
.form-frame {
  max-width: 760px;
  margin: 40px auto 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.form-frame iframe {
  width: 100%;
  height: 1400px;
  border: none;
  display: block;
}

/* ==========================================================================
   Gallery
   ========================================================================== */
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
}
.filter-tab {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.86rem;
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.filter-tab:hover { border-color: var(--accent); }
.filter-tab[aria-current="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }

.filter-empty {
  text-align: center;
  color: var(--muted);
  max-width: 520px;
  margin: 32px auto 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 32px;
}
.gallery-item[hidden] { display: none; }
@media (min-width: 640px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 960px) { .gallery-grid { grid-template-columns: repeat(4, 1fr); } }

.gallery-item {
  margin: 0;
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  background: var(--bg-alt);
  aspect-ratio: 1/1;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.gallery-item:hover img { transform: scale(1.06); }

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(10, 4, 4, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 24px;
}
.lightbox.is-open { display: flex; }
.lightbox img {
  max-width: min(90vw, 900px);
  max-height: 86vh;
  border-radius: var(--radius-sm);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.lightbox-close, .lightbox-nav {
  position: absolute;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.lightbox-close { top: 24px; right: 24px; }
.lightbox-nav svg, .lightbox-close svg { width: 20px; height: 20px; }
.lightbox-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 24px; top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) {
  .lightbox-prev, .lightbox-next { display: none; }
}

/* Hiring banner */
.hiring-banner {
  margin-top: 72px;
  border-radius: var(--radius-md);
  background: linear-gradient(120deg, var(--ink), var(--accent-dark));
  color: #fff;
  padding: 48px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.hiring-banner h3 { color: #fff; margin-bottom: 6px; font-size: 1.5rem; }
.hiring-banner p { color: rgba(255,255,255,0.75); margin: 0; }
.hiring-banner .btn--accent { background: #fff; color: var(--ink); }
.hiring-banner .btn--accent:hover { background: var(--accent-light); }

/* ==========================================================================
   Contact strip
   ========================================================================== */
.contact-card {
  max-width: 720px;
  margin: 0 auto;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 40px;
  text-align: center;
}
.contact-methods {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 22px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,0.82);
  padding: 64px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
@media (min-width: 720px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.footer-brand img { width: 40px; height: 40px; border-radius: 8px; }
.footer-brand span { font-family: var(--font-head); font-weight: 700; color: #fff; font-size: 1.05rem; }
.site-footer p { color: rgba(255,255,255,0.6); max-width: 320px; }
.footer-col h4 {
  color: #fff;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.footer-col a { color: rgba(255,255,255,0.75); font-size: 0.95rem; transition: color 0.15s ease; }
.footer-col a:hover { color: #fff; }
.footer-col li { display: flex; align-items: center; gap: 10px; }
.footer-col svg { width: 18px; height: 18px; flex-shrink: 0; }

.footer-bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.12);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
}
.footer-bottom a { color: rgba(255,255,255,0.55); }
.footer-bottom a:hover { color: #fff; }
.footer-legal { display: flex; gap: 18px; flex-wrap: wrap; }

/* Utility */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: #fff;
  padding: 10px 16px;
  z-index: 2000;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }
