/* ═══════════════════════════════════════════════
   PROFIT DETECTIVE — CUSTOM THEME
   Palette: Limestone · Charcoal · Antique Gold
   Type: Playfair Display + DM Sans
═══════════════════════════════════════════════ */

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

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  color: #2E2D2B;
  background: #F2EFE9;
  line-height: 1.6;
  overflow-x: hidden;
}

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

/* ── SITEWIDE HEADER ──────────────────────── */
.pd-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 52px;
  height: 72px;
  background: rgba(242,239,233,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(168,136,42,0.12);
  transition: box-shadow 0.3s;
}

.pd-header.scrolled {
  box-shadow: 0 4px 32px rgba(28,28,26,0.08);
}

.pd-logo {
  font-family: 'Playfair Display', serif;
  font-size: 15px;
  font-weight: 700;
  color: #1C1C1A;
  letter-spacing: -0.2px;
  line-height: 1.2;
}

.pd-logo span {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #A8882A;
  font-style: normal;
}

.pd-nav {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.pd-nav a {
  font-size: 13px;
  font-weight: 400;
  color: #7A7670;
  letter-spacing: 0.3px;
  transition: color 0.2s;
  position: relative;
}

.pd-nav a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background: #A8882A;
  transition: width 0.2s;
}

.pd-nav a:hover { color: #1C1C1A; }
.pd-nav a:hover::after { width: 100%; }

.pd-nav-cta {
  background: #1C1C1A;
  color: #fff !important;
  padding: 10px 24px;
  font-size: 11px !important;
  font-weight: 500 !important;
  letter-spacing: 1.5px !important;
  text-transform: uppercase;
  transition: background 0.2s, transform 0.15s !important;
}

.pd-nav-cta::after { display: none !important; }
.pd-nav-cta:hover { background: #A8882A !important; color: #fff !important; transform: translateY(-1px); }

/* ── HERO ─────────────────────────────────── */
.pd-hero {
  display: grid;
  grid-template-columns: 55% 45%;
  min-height: 100vh;
  padding-top: 72px;
  overflow: hidden;
}

.pd-hero-visual {
  position: relative;
  overflow: hidden;
}

.pd-hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 35% top;
  transition: transform 10s ease;
}

.pd-hero-visual:hover img { transform: scale(1.04); }

/* Fade into content side */
.pd-hero-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(242,239,233,0) 55%, #F2EFE9 100%);
  pointer-events: none;
}

/* Gold corner bracket */
.pd-hero-visual::before {
  content: '';
  position: absolute;
  bottom: 56px;
  left: 48px;
  width: 64px;
  height: 64px;
  border-left: 2px solid rgba(168,136,42,0.5);
  border-bottom: 2px solid rgba(168,136,42,0.5);
  z-index: 2;
}

.pd-hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 64px 72px 64px 48px;
  background: #F2EFE9;
}

.pd-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: #A8882A;
  margin-bottom: 24px;
}

.pd-eyebrow::before {
  content: '';
  display: block;
  width: 36px;
  height: 1px;
  background: #C9A84C;
  flex-shrink: 0;
}

.pd-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(46px, 4.5vw, 72px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.5px;
  color: #1C1C1A;
}

.pd-hero h1 em {
  font-style: italic;
  font-weight: 400;
  color: #A8882A;
  display: block;
}

.pd-hero-deck {
  font-size: 17px;
  font-weight: 300;
  color: #7A7670;
  line-height: 1.72;
  max-width: 400px;
  margin: 28px 0 44px;
  padding-left: 20px;
  border-left: 2px solid #C9A84C;
}

.pd-cta-row {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.pd-btn-primary {
  display: inline-block;
  background: #1C1C1A;
  color: #FDFCFA;
  padding: 15px 38px;
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: background 0.25s, transform 0.15s;
}

.pd-btn-primary:hover {
  background: #A8882A;
  transform: translateY(-1px);
}

.pd-btn-text {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 400;
  color: #7A7670;
  border-bottom: 1px solid #9E9A94;
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}

.pd-btn-text:hover { color: #A8882A; border-color: #A8882A; }

/* ── STATS ────────────────────────────────── */
.pd-stats {
  background: #1C1C1A;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.pd-stat {
  padding: 56px 36px;
  border-right: 1px solid rgba(255,255,255,0.06);
  text-align: center;
}

.pd-stat:last-child { border-right: none; }

.pd-stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 52px;
  font-weight: 700;
  color: #FDFCFA;
  line-height: 1;
  letter-spacing: -1px;
}

.pd-stat-num sup {
  font-size: 22px;
  font-weight: 400;
  color: #C9A84C;
  vertical-align: super;
  letter-spacing: 0;
}

.pd-stat-label {
  font-size: 10px;
  font-weight: 400;
  color: rgba(255,255,255,0.35);
  letter-spacing: 1.8px;
  text-transform: uppercase;
  margin-top: 12px;
  line-height: 1.5;
}

/* ── SECTION BASE ─────────────────────────── */
.pd-section { padding: 112px 0; }

.pd-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 52px;
}

.pd-section-label {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: #A8882A;
  margin-bottom: 20px;
}

.pd-section-label::before {
  content: '';
  display: block;
  width: 36px;
  height: 1px;
  background: #C9A84C;
  flex-shrink: 0;
}

.pd-h2 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.3px;
  color: #1C1C1A;
  font-size: clamp(34px, 3.5vw, 52px);
}

.pd-h2 em {
  font-style: italic;
  font-weight: 400;
  color: #A8882A;
}

.pd-body {
  font-size: 16px;
  font-weight: 300;
  color: #7A7670;
  line-height: 1.78;
}

/* ── SERVICES ─────────────────────────────── */
.pd-services { background: #FDFCFA; }

.pd-services-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: end;
  margin-bottom: 72px;
}

.pd-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  background: #E8E4DC;
}

.pd-card {
  background: #FDFCFA;
  padding: 56px 44px 48px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pd-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 64px rgba(28,28,26,0.1);
  z-index: 2;
}

.pd-card-watermark {
  font-family: 'Playfair Display', serif;
  font-size: 128px;
  font-weight: 700;
  color: #F0E6C8;
  line-height: 1;
  position: absolute;
  top: 8px;
  right: 16px;
  pointer-events: none;
  user-select: none;
}

.pd-card-icon {
  width: 48px;
  height: 48px;
  border: 1px solid #C9A84C;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  position: relative;
  z-index: 1;
}

.pd-card-icon svg {
  width: 20px;
  height: 20px;
  stroke: #A8882A;
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pd-card-title {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 600;
  color: #1C1C1A;
  margin-bottom: 14px;
  line-height: 1.2;
  position: relative;
  z-index: 1;
}

.pd-card p {
  font-size: 15px;
  color: #7A7670;
  line-height: 1.72;
  margin-bottom: 32px;
  position: relative;
  z-index: 1;
}

.pd-card-link {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #A8882A;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: gap 0.2s;
  position: relative;
  z-index: 1;
}

.pd-card-link:hover { gap: 16px; }

/* ── GALLERY ──────────────────────────────── */
.pd-gallery { background: #F2EFE9; }

.pd-gallery-grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr 1fr;
  grid-template-rows: 290px 290px;
  gap: 4px;
  margin-top: 52px;
}

.pd-gallery-item {
  overflow: hidden;
  position: relative;
  background: #E8E4DC;
  cursor: pointer;
}

.pd-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.65s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.pd-gallery-item:hover img { transform: scale(1.07); }

.pd-gallery-item.tall { grid-row: 1 / 3; }

.pd-gallery-cap {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px 20px 16px;
  background: linear-gradient(to top, rgba(28,28,26,0.72) 0%, transparent 100%);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s, transform 0.3s;
}

.pd-gallery-item:hover .pd-gallery-cap {
  opacity: 1;
  transform: translateY(0);
}

/* ── PROOF (DARK) ─────────────────────────── */
.pd-proof {
  background: #1C1C1A;
  padding: 112px 0;
}

.pd-proof-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 96px;
  align-items: center;
}

.pd-proof-img {
  position: relative;
}

.pd-proof-img img {
  width: 100%;
  height: 600px;
  object-fit: cover;
  object-position: center top;
  filter: brightness(0.9) contrast(1.05);
  display: block;
}

/* Gold corner accents */
.pd-proof-img::before {
  content: '';
  position: absolute;
  top: -14px;
  left: -14px;
  width: 72px;
  height: 72px;
  border-top: 2px solid #A8882A;
  border-left: 2px solid #A8882A;
  z-index: 2;
}

.pd-proof-img::after {
  content: '';
  position: absolute;
  bottom: -14px;
  right: -14px;
  width: 72px;
  height: 72px;
  border-bottom: 2px solid #A8882A;
  border-right: 2px solid #A8882A;
  z-index: 2;
}

.pd-proof-content .pd-section-label { color: #C9A84C; }
.pd-proof-content .pd-section-label::before { background: #C9A84C; }

.pd-proof-h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 3vw, 48px);
  font-weight: 700;
  color: #FDFCFA;
  line-height: 1.1;
  margin-bottom: 20px;
}

.pd-proof-h2 em {
  font-style: italic;
  font-weight: 400;
  color: #C9A84C;
}

.pd-proof-body {
  font-size: 16px;
  color: rgba(253,252,250,0.45);
  line-height: 1.78;
  margin-bottom: 44px;
}

.pd-results {
  border: 1px solid rgba(255,255,255,0.07);
}

.pd-result {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: background 0.2s;
}

.pd-result:last-child { border-bottom: none; }
.pd-result:hover { background: rgba(255,255,255,0.03); }

.pd-result-name {
  font-size: 14px;
  font-weight: 400;
  color: rgba(253,252,250,0.85);
  margin-bottom: 3px;
}

.pd-result-detail {
  font-size: 11px;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.3px;
}

.pd-result-num {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  font-weight: 700;
  color: #C9A84C;
  letter-spacing: -0.3px;
}

/* ── QUOTE ────────────────────────────────── */
.pd-quote {
  background: #E8E4DC;
  padding: 112px 0;
}

.pd-quote-wrap {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 52px;
  text-align: center;
}

.pd-quote-mark {
  font-family: 'Playfair Display', serif;
  font-size: 160px;
  line-height: 0.5;
  color: #A8882A;
  opacity: 0.18;
  display: block;
  margin-bottom: 28px;
  user-select: none;
}

.pd-quote-text {
  font-family: 'Playfair Display', serif;
  font-size: clamp(22px, 2.5vw, 32px);
  font-style: italic;
  font-weight: 400;
  color: #1C1C1A;
  line-height: 1.52;
  margin-bottom: 36px;
}

.pd-quote-attr {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #9E9A94;
}

.pd-quote-attr strong { color: #A8882A; font-weight: 500; }

/* ── ABOUT ────────────────────────────────── */
.pd-about { background: #FDFCFA; }

.pd-about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
}

.pd-about-body {
  font-size: 16px;
  color: #7A7670;
  line-height: 1.78;
  margin-bottom: 20px;
}

.pd-credentials {
  margin-top: 40px;
  border-top: 1px solid #E8E4DC;
}

.pd-cred {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid #E8E4DC;
}

.pd-cred-dot {
  width: 8px;
  height: 8px;
  background: #A8882A;
  border-radius: 50%;
  margin-top: 7px;
  flex-shrink: 0;
}

.pd-cred-text {
  font-size: 14px;
  color: #7A7670;
  line-height: 1.55;
}

.pd-cred-text strong { color: #1C1C1A; font-weight: 500; }

.pd-about-visual {
  position: relative;
}

.pd-about-visual img {
  width: 100%;
  height: 680px;
  object-fit: cover;
  object-position: center 15%;
  display: block;
}

.pd-about-badge {
  position: absolute;
  bottom: -20px;
  left: -24px;
  background: #A8882A;
  color: #1C1C1A;
  padding: 16px 28px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  z-index: 2;
}

/* ── TEACHING SPLIT ───────────────────────── */
.pd-teaching { background: #F2EFE9; }

.pd-teaching-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  margin-top: 64px;
}

.pd-teaching-img {
  overflow: hidden;
  height: 520px;
}

.pd-teaching-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.6s ease;
}

.pd-teaching-img:hover img { transform: scale(1.04); }

.pd-teaching-panel {
  background: #1C1C1A;
  padding: 72px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.pd-teaching-panel .pd-section-label { color: #C9A84C; }
.pd-teaching-panel .pd-section-label::before { background: #C9A84C; }

.pd-teaching-h3 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 2.5vw, 40px);
  font-weight: 600;
  color: #FDFCFA;
  line-height: 1.18;
  margin-bottom: 20px;
}

.pd-teaching-h3 em {
  font-style: italic;
  font-weight: 400;
  color: #C9A84C;
}

.pd-teaching-body {
  font-size: 15px;
  color: rgba(253,252,250,0.45);
  line-height: 1.78;
  margin-bottom: 40px;
}

/* ── LIFESTYLE STRIP ──────────────────────── */
.pd-lifestyle { background: #FDFCFA; padding: 0; }

.pd-lifestyle-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}

.pd-lifestyle-item {
  overflow: hidden;
  height: 400px;
  position: relative;
}

.pd-lifestyle-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.6s ease;
}

.pd-lifestyle-item:hover img { transform: scale(1.05); }

.pd-lifestyle-caption {
  padding: 36px 0 0;
  text-align: center;
  background: #FDFCFA;
}

.pd-lifestyle-caption p {
  font-size: 14px;
  color: #9E9A94;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
  padding: 0 40px 48px;
}

/* ── CTA BAND ─────────────────────────────── */
.pd-cta-band {
  background: #A8882A;
  position: relative;
  overflow: hidden;
}

.pd-cta-band::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 45%;
  height: 100%;
  background: rgba(28,28,26,0.07);
  clip-path: polygon(18% 0%, 100% 0%, 100% 100%, 0% 100%);
}

.pd-cta-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 88px 72px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 60px;
  position: relative;
  z-index: 1;
}

.pd-cta-headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(30px, 3vw, 46px);
  font-weight: 700;
  color: #1C1C1A;
  line-height: 1.15;
}

.pd-cta-headline em {
  font-style: italic;
  font-weight: 400;
}

.pd-cta-sub {
  font-size: 16px;
  color: rgba(28,28,26,0.6);
  line-height: 1.65;
  margin-top: 14px;
}

.pd-btn-dark {
  display: inline-block;
  background: #1C1C1A;
  color: #FDFCFA;
  padding: 18px 44px;
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  white-space: nowrap;
  transition: transform 0.2s, background 0.2s;
}

.pd-btn-dark:hover {
  transform: translateY(-2px);
  background: #2E2D2B;
}

/* ── FOOTER ───────────────────────────────── */
.pd-footer {
  background: #1C1C1A;
  padding: 60px 52px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.pd-footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 14px;
  font-weight: 700;
  color: #FDFCFA;
}

.pd-footer-logo span {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #A8882A;
  margin-top: 3px;
}

.pd-footer-links {
  display: flex;
  gap: 28px;
  list-style: none;
}

.pd-footer-links a {
  font-size: 12px;
  color: rgba(255,255,255,0.35);
  transition: color 0.2s;
}

.pd-footer-links a:hover { color: #C9A84C; }

.pd-footer-copy {
  font-size: 11px;
  color: rgba(255,255,255,0.25);
}

/* ── RESPONSIVE ───────────────────────────── */
@media (max-width: 1100px) {
  .pd-hero { grid-template-columns: 1fr; min-height: auto; padding-top: 72px; }
  .pd-hero-visual { height: 60vw; max-height: 500px; }
  .pd-hero-visual::after { background: linear-gradient(to bottom, rgba(242,239,233,0) 60%, #F2EFE9 100%); }
  .pd-hero-content { padding: 48px 32px 64px; }
  .pd-stats { grid-template-columns: repeat(2,1fr); }
  .pd-services-header { grid-template-columns: 1fr; gap: 24px; margin-bottom: 48px; }
  .pd-cards { grid-template-columns: 1fr; }
  .pd-gallery-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 220px 220px 220px; }
  .pd-gallery-item.tall { grid-row: auto; }
  .pd-proof-grid { grid-template-columns: 1fr; gap: 56px; }
  .pd-proof-img img { height: 400px; }
  .pd-about-grid { grid-template-columns: 1fr; gap: 48px; }
  .pd-about-visual { display: none; }
  .pd-teaching-split { grid-template-columns: 1fr; }
  .pd-teaching-img { height: 320px; }
  .pd-lifestyle-grid { grid-template-columns: 1fr; }
  .pd-lifestyle-item { height: 300px; }
  .pd-cta-inner { grid-template-columns: 1fr; gap: 32px; padding: 64px 32px; }
  .pd-footer { flex-direction: column; gap: 28px; text-align: center; }
  .pd-container { padding: 0 28px; }
  .pd-header { padding: 0 24px; }
}

@media (max-width: 640px) {
  .pd-header { height: 60px; }
  .pd-hero { padding-top: 60px; }
  .pd-nav { display: none; }
  .pd-stat-num { font-size: 40px; }
}
