/* ============================================================
   PETTETT & SONS PRINTING — design system
   Near-black, white type, CMYK accents from the logo.
   ============================================================ */

:root {
  --bg: #050506;
  --bg-raise: #0d0d0f;
  --hairline: rgba(255, 255, 255, 0.09);
  --text: #f5f5f7;
  --text-dim: #9b9ba1;
  --text-faint: #6e6e73;

  --blue: #3B75C9;
  --red: #BE3733;
  --gold: #E9C13F;
  --blue-bright: #5f93e6;
  --red-bright: #e05a54;
  --gold-bright: #f2cd52;

  --radius: 18px;
  --nav-h: 64px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); }

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", Inter, Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.5;
  overflow-x: hidden;
}

::selection { background: var(--gold); color: #000; }

h1, h2, h3 { font-weight: 700; letter-spacing: -0.03em; line-height: 1.05; }

a { color: inherit; }

/* ---------- accent tints ---------- */
.tint-blue { color: var(--blue-bright); }
.tint-red  { color: var(--red-bright); }
.tint-gold { color: var(--gold-bright); }

/* multicolor word in hero */
.ink {
  background: linear-gradient(100deg, var(--blue-bright) 0%, var(--blue-bright) 32%, var(--red-bright) 48%, var(--red-bright) 62%, var(--gold-bright) 78%, var(--gold-bright) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 980px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  padding: 10px 22px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.35s var(--ease), background 0.25s, border-color 0.25s, color 0.25s;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--text); color: #050506; }
.btn-primary:hover { background: #ffffff; transform: translateY(-1px); }
.btn-ghost { border-color: rgba(255, 255, 255, 0.25); color: var(--text); }
.btn-ghost:hover { border-color: rgba(255, 255, 255, 0.6); }
.btn-lg { padding: 15px 32px; font-size: 17px; }
.btn-block { width: 100%; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--nav-h);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  background: rgba(5, 5, 6, 0.55);
  border-bottom: 1px solid transparent;
  transition: background 0.4s, border-color 0.4s;
}
.nav.scrolled { background: rgba(5, 5, 6, 0.8); border-color: var(--hairline); }

.nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  height: 100%;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.nav-mark { width: 34px; height: 34px; }
.nav-wordmark { font-weight: 800; font-size: 15px; letter-spacing: 0.08em; white-space: nowrap; }
.nav-wordmark .amp { color: var(--text-faint); font-weight: 600; }

.nav-links { display: flex; gap: 28px; margin-left: auto; }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.btn-church { border-color: rgba(233, 193, 63, 0.45); }
.btn-church:hover, .btn-church[aria-current="page"] { border-color: var(--gold); color: var(--gold-bright); }

.btn-reviews { border-color: rgba(59, 117, 201, 0.5); gap: 7px; }
.btn-reviews:hover, .btn-reviews[aria-current="page"] { border-color: var(--blue-bright); color: #fff; }
.btn-star { color: var(--gold-bright); font-size: 13px; line-height: 1; }
.btn-label-short { display: none; }
.nav-links a {
  text-decoration: none;
  font-size: 14px;
  color: var(--text-dim);
  transition: color 0.25s;
}
.nav-links a:hover { color: var(--text); }
.btn-nav { font-size: 13px; padding: 8px 18px; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--nav-h) + 48px) 24px 64px;
  position: relative;
}
.hero::before {
  /* faint radial glow behind headline */
  content: "";
  position: absolute;
  top: 18%;
  left: 50%;
  transform: translateX(-50%);
  width: min(900px, 90vw);
  height: 480px;
  background: radial-gradient(ellipse at center, rgba(59, 117, 201, 0.14) 0%, rgba(190, 55, 51, 0.07) 45%, transparent 70%);
  pointer-events: none;
}
.hero > * { position: relative; }

.hero-eyebrow {
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 28px;
}
.hero-title {
  font-size: clamp(52px, 10vw, 112px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.98;
}
.hero-sub {
  max-width: 560px;
  margin-top: 30px;
  font-size: clamp(17px, 2vw, 21px);
  color: var(--text-dim);
}
.hero-cta { display: flex; gap: 14px; margin-top: 40px; flex-wrap: wrap; justify-content: center; }

.hero-regline { display: flex; gap: 10px; margin-top: 72px; }
.reg-dot { width: 8px; height: 8px; border-radius: 50%; }
.reg-c { background: var(--blue); }
.reg-m { background: var(--red); }
.reg-y { background: var(--gold); }
.reg-k { background: #2a2a2e; border: 1px solid rgba(255,255,255,0.25); }

/* ============================================================
   VALUE STRIP
   ============================================================ */
.value {
  padding: 140px 24px;
  text-align: center;
  border-top: 1px solid var(--hairline);
}
.value-title { font-size: clamp(34px, 5.4vw, 64px); font-weight: 800; }
.value-sub {
  max-width: 620px;
  margin: 24px auto 0;
  font-size: clamp(16px, 1.8vw, 20px);
  color: var(--text-dim);
}
.value-link {
  display: inline-block;
  margin-top: 28px;
  font-size: 16px;
  font-weight: 600;
  color: var(--gold-bright);
  text-decoration: none;
  border-bottom: 1px solid rgba(233, 193, 63, 0.35);
  padding-bottom: 2px;
  transition: border-color 0.25s, color 0.25s;
}
.value-link:hover { color: #ffd966; border-color: var(--gold-bright); }

/* ============================================================
   GENERIC SECTION
   ============================================================ */
.section { padding: 120px 24px; max-width: 1180px; margin: 0 auto; }
.section-head { margin-bottom: 64px; }
.section-head h2 { font-size: clamp(34px, 5vw, 56px); font-weight: 800; }
.kicker {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

/* ============================================================
   SERVICES
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.card {
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  background: var(--bg-raise);
  padding: 28px 24px 30px;
  position: relative;
  overflow: hidden;
  transition: transform 0.45s var(--ease), border-color 0.3s;
}
.card::before {
  /* colored hairline that slides in on hover */
  content: "";
  position: absolute;
  top: 0; left: 0;
  height: 3px;
  width: 100%;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease);
}
.card:nth-child(3n + 1)::before { background: var(--blue); }
.card:nth-child(3n + 2)::before { background: var(--red); }
.card:nth-child(3n)::before     { background: var(--gold); }
.card:hover { transform: translateY(-4px); border-color: rgba(255, 255, 255, 0.2); }
.card:hover::before { transform: scaleX(1); }
.card h3 { font-size: 19px; letter-spacing: -0.02em; margin-bottom: 10px; }
.card p { font-size: 14.5px; color: var(--text-dim); line-height: 1.55; }

/* ============================================================
   BIG LOGO MOMENT
   ============================================================ */
.mark-moment {
  padding: 150px 24px;
  text-align: center;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  background:
    radial-gradient(ellipse 60% 50% at 50% 42%, rgba(255, 255, 255, 0.045) 0%, transparent 70%),
    var(--bg);
}
.big-mark {
  width: min(340px, 68vw);
  height: auto;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 24px 80px rgba(0, 0, 0, 0.65));
}
.mark-line { font-size: clamp(32px, 5vw, 54px); font-weight: 800; margin-top: 56px; }
.mark-sub {
  max-width: 580px;
  margin: 22px auto 0;
  font-size: clamp(16px, 1.8vw, 19px);
  color: var(--text-dim);
}

/* ============================================================
   WHO WE SERVE
   ============================================================ */
.who-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--hairline);
}
.who-grid li {
  padding: 34px 8px;
  font-size: clamp(18px, 2vw, 23px);
  font-weight: 600;
  letter-spacing: -0.02em;
  border-bottom: 1px solid var(--hairline);
  color: var(--text-dim);
  transition: color 0.3s, padding-left 0.4s var(--ease);
}
.who-grid li:hover { color: var(--text); padding-left: 18px; }

/* ============================================================
   QUOTE
   ============================================================ */
.quote { padding-bottom: 140px; }
.quote-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 72px;
  align-items: start;
  position: relative;
}
.quote-intro h2 { font-size: clamp(32px, 4.6vw, 52px); font-weight: 800; }
.quote-copy { margin-top: 20px; color: var(--text-dim); font-size: 17px; max-width: 420px; }

.quote-contact { margin-top: 44px; display: flex; flex-direction: column; }
.contact-row {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 18px 0;
  border-top: 1px solid var(--hairline);
  text-decoration: none;
}
.contact-label { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-faint); }
.contact-value { font-size: 17px; font-weight: 600; transition: color 0.25s; }
a.contact-row:hover .contact-value { color: var(--gold-bright); }

/* ----- form ----- */
.quote-form {
  background: var(--bg-raise);
  border: 1px solid var(--hairline);
  border-radius: 24px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.quote-form[hidden] { display: none; }
.form-row.two { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.field input,
.field select,
.field textarea {
  appearance: none;
  -webkit-appearance: none;
  background: #050506;
  border: 1px solid var(--hairline);
  border-radius: 12px;
  color: var(--text);
  font: inherit;
  font-size: 15px;
  padding: 13px 14px;
  transition: border-color 0.25s, box-shadow 0.25s;
  width: 100%;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input::placeholder, .field textarea::placeholder { color: #55555a; }
.field select:invalid { color: #55555a; }
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%239b9ba1' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(59, 117, 201, 0.25);
}
.field input[type="date"] { color-scheme: dark; }
.quote-form .btn { margin-top: 6px; }
.form-note { font-size: 13px; color: var(--text-faint); text-align: center; }
.form-error { font-size: 14px; color: var(--red-bright); text-align: center; display: none; }
.form-error.show { display: block; }
.honeypot { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }

/* finished size: width × length + unit dropdown */
.size-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr 130px;
  gap: 10px;
  align-items: center;
}
.size-x { color: var(--text-faint); font-size: 17px; font-weight: 600; }
.size-row input::-webkit-outer-spin-button,
.size-row input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.size-row input[type="number"] { -moz-appearance: textfield; appearance: textfield; }
@media (max-width: 400px) {
  .size-row { grid-template-columns: 1fr auto 1fr; }
  .size-row select { grid-column: 1 / -1; }
}

/* consultation checkbox */
.check-field {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: #050506;
  border: 1px solid var(--hairline);
  border-radius: 12px;
  padding: 16px;
  cursor: pointer;
  transition: border-color 0.25s;
}
.check-field:hover { border-color: rgba(233, 193, 63, 0.5); }
.check-field:has(input:checked) { border-color: var(--gold); }
.check-field input {
  appearance: auto;
  -webkit-appearance: auto;
  accent-color: var(--gold);
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex: none;
  cursor: pointer;
}
.check-text { font-size: 13.5px; color: var(--text-dim); line-height: 1.5; }
.check-text strong { display: block; color: var(--text); font-size: 14.5px; margin-bottom: 3px; letter-spacing: -0.01em; }

/* ----- success state ----- */
.quote-success {
  grid-column: 2;
  background: var(--bg-raise);
  border: 1px solid var(--hairline);
  border-radius: 24px;
  padding: 72px 40px;
  text-align: center;
  animation: successIn 0.6s var(--ease);
}
.quote-success[hidden] { display: none; }
.success-mark { width: 72px; height: 72px; margin-bottom: 28px; }
.quote-success h3 { font-size: 28px; margin-bottom: 12px; }
.quote-success p { color: var(--text-dim); font-size: 16px; max-width: 380px; margin: 0 auto; }
.quote-success a { color: var(--gold-bright); text-decoration: none; }
@keyframes successIn {
  from { opacity: 0; transform: translateY(16px) scale(0.98); }
  to   { opacity: 1; transform: none; }
}

/* ============================================================
   REVIEWS
   ============================================================ */
.stars {
  color: var(--gold-bright);
  font-size: 15px;
  letter-spacing: 4px;
  white-space: nowrap;
}
.rating-line { display: flex; align-items: center; gap: 12px; margin-top: 22px; }
.rating-note { font-size: 15px; color: var(--text-dim); }
.rating-note strong { color: var(--text); font-weight: 700; }

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.review-card {
  margin: 0;
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  background: var(--bg-raise);
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: transform 0.45s var(--ease), border-color 0.3s;
}
.review-card:hover { transform: translateY(-4px); border-color: rgba(233, 193, 63, 0.35); }
.review-card blockquote {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--text);
}
.review-card figcaption {
  margin-top: auto;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.review-card figcaption span {
  display: block;
  margin-top: 3px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--text-faint);
}
.reviews-links { margin-top: 44px; display: flex; gap: 28px; flex-wrap: wrap; align-items: center; }

/* featured pull-quote (church page) */
.pull-review { text-align: center; max-width: 760px; margin: 0 auto; }
.pull-review blockquote {
  margin: 26px 0 0;
  font-size: clamp(21px, 3vw, 30px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.35;
}
.pull-review figcaption { margin-top: 26px; font-size: 14px; color: var(--text-dim); }
.pull-review figcaption strong { color: var(--text); font-weight: 700; }

/* reviews page header */
.reviews-hero { padding: calc(var(--nav-h) + 96px) 24px 40px; text-align: center; }
.reviews-hero .big-score {
  font-size: clamp(72px, 14vw, 128px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}
.reviews-hero .stars { font-size: 22px; display: block; margin-top: 14px; }
.reviews-hero p { color: var(--text-dim); margin-top: 18px; font-size: clamp(16px, 2vw, 19px); }

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

/* ============================================================
   CHURCH PAGE
   ============================================================ */
.church-hero { min-height: 86svh; }
.church-grid { grid-template-columns: repeat(3, 1fr); }
.church-cta { padding-bottom: 140px; }
.church-cta .section-head { max-width: 640px; margin-left: auto; margin-right: auto; }

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

/* ============================================================
   FOOTER
   ============================================================ */
.footer { border-top: 1px solid var(--hairline); padding: 56px 24px 40px; }
.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.footer-brand { display: flex; align-items: center; gap: 16px; }
.footer-mark { width: 44px; height: 44px; }
.footer-name { font-weight: 800; font-size: 14px; letter-spacing: 0.08em; }
.footer-tag { font-size: 13px; color: var(--text-faint); margin-top: 2px; }
.footer-links { display: flex; gap: 28px; flex-wrap: wrap; }
.footer-links a { font-size: 14px; color: var(--text-dim); text-decoration: none; transition: color 0.25s; }
.footer-links a:hover { color: var(--text); }
.footer-legal {
  max-width: 1180px;
  margin: 36px auto 0;
  font-size: 12.5px;
  color: var(--text-faint);
}

/* ============================================================
   SCROLL REVEALS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.1s; }
.reveal.d2 { transition-delay: 0.2s; }
.reveal.d3 { transition-delay: 0.3s; }
.reveal.d4 { transition-delay: 0.45s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1000px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .quote-grid { grid-template-columns: 1fr; gap: 48px; }
  .quote-success { grid-column: auto; }
}

/* tablet / narrow desktop: keep every button, compress to short labels */
@media (max-width: 900px) {
  .nav-wordmark { display: none; }
  .btn-label-full { display: none; }
  .btn-label-short { display: inline; }
  .nav-inner { gap: 14px; }
  .nav-links { gap: 8px; }
  .nav-actions { gap: 8px; }
  .btn-nav { font-size: 12px; padding: 7px 12px; }
}

/* phones only: collapse the nav into the hamburger menu */
@media (max-width: 640px) {
  .nav-links,
  .nav-actions { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-inner { justify-content: space-between; gap: 10px; padding: 0 16px; }
  .section { padding: 88px 20px; }
  .value { padding: 100px 20px; }
  .mark-moment { padding: 110px 20px; }
  .services-grid { grid-template-columns: 1fr; }
  .who-grid { grid-template-columns: 1fr; }
  .who-grid li { padding: 24px 4px; }
  .form-row.two { grid-template-columns: 1fr; }
  .quote-form { padding: 26px 20px; }
  .hero-cta .btn { width: 100%; }
}

/* ============================================================
   NAV — GRAY BUTTONS + HAMBURGER MENU
   ============================================================ */
/* gray About / Gallery buttons that replace the old text links */
.btn-gray {
  border-color: rgba(255, 255, 255, 0.18);
  color: var(--text-dim);
}
.btn-gray:hover,
.btn-gray[aria-current="page"] {
  border-color: rgba(255, 255, 255, 0.55);
  color: var(--text);
}
.nav-links .btn-gray { border-width: 1px; }

/* hamburger toggle — hidden on desktop, shown ≤900px via media query */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 0 10px;
  background: none;
  border: 1px solid var(--hairline);
  border-radius: 12px;
  cursor: pointer;
  transition: border-color 0.25s;
}
.nav-toggle:hover { border-color: rgba(255, 255, 255, 0.4); }
.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* dropdown panel */
.mobile-menu {
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  z-index: 99;
  display: flex;
  flex-direction: column;
  padding: 14px 20px 26px;
  background: rgba(5, 5, 6, 0.94);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--hairline);
  animation: menuIn 0.28s var(--ease);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu a {
  padding: 15px 4px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text-dim);
  text-decoration: none;
  border-bottom: 1px solid var(--hairline);
  transition: color 0.2s, padding-left 0.3s var(--ease);
}
.mobile-menu a:hover { color: var(--text); padding-left: 10px; }
@keyframes menuIn {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: none; }
}

/* ============================================================
   ABOUT — MEET THE FAMILY
   ============================================================ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.person-card {
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  background: var(--bg-raise);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.45s var(--ease), border-color 0.3s;
}
.person-card:hover { transform: translateY(-4px); border-color: rgba(255, 255, 255, 0.2); }
/* transparent-PNG portraits sit straight on the site background —
   the only chrome is a thin white 4:5 frame line. Doubles as an
   initials placeholder until the real photo lands. */
.person-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 18px 18px 0;
  background: var(--bg);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 4px;
  overflow: hidden;
}
.person-photo .initials {
  font-size: clamp(40px, 7vw, 60px);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: rgba(255, 255, 255, 0.22);
}
.person-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.person-body { padding: 24px 24px 28px; }
.person-name { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; }
.person-title {
  margin-top: 4px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-bright);
}
.person-bio { margin-top: 16px; font-size: 14.5px; line-height: 1.6; color: var(--text-dim); }
.person-contact {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  border-top: 1px solid var(--hairline);
  padding-top: 18px;
}
.person-contact a {
  font-size: 14px;
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.2s;
}
.person-contact a:hover { color: var(--text); }
.person-contact a strong { color: var(--text); font-weight: 600; }

@media (max-width: 900px) {
  .team-grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
}

/* ============================================================
   GALLERY
   ============================================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.gallery-item {
  position: relative;
  aspect-ratio: 1 / 1;
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 70% at 50% 30%, rgba(255,255,255,0.05), transparent 70%),
    var(--bg-raise);
  cursor: pointer;
  padding: 0;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s var(--ease);
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item .gallery-ph {
  position: absolute;
  inset: 0;
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  opacity: 0.5;
}
@media (max-width: 900px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .gallery-grid { grid-template-columns: 1fr; } }

/* lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  background: rgba(3, 3, 4, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: menuIn 0.2s var(--ease);
}
.lightbox[hidden] { display: none; }
.lightbox img {
  max-width: min(1000px, 94vw);
  max-height: 88vh;
  border-radius: 12px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.6);
}
.lightbox-close {
  position: absolute;
  top: 22px;
  right: 26px;
  width: 44px;
  height: 44px;
  font-size: 26px;
  line-height: 1;
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--hairline);
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s;
}
.lightbox-close:hover { background: rgba(255, 255, 255, 0.18); }

/* Show the hamburger on phones only. Declared last so it wins over the
   base `.nav-toggle { display: none }` regardless of source order. */
@media (max-width: 640px) {
  .nav-toggle { display: inline-flex; }
}
