/* ============================================================
   ISAACPEREZ.CO — /photo/ pages (photo & video work)
   Loaded AFTER css/site.css. Uses only site.css tokens —
   no new palette, no new type scale. Light & dark. Vanilla.
   ============================================================ */

/* nav + its .here current-page marker live in site.css — the nav is
   identical on every page and must stay that way */

/* ============ SUBPAGE HERO ============
   Same recipe as .hero on the landing page, shorter — a subpage
   shouldn't eat a full viewport before the content starts. */
/* extra bottom padding keeps the stat row clear of .scroll-cue */
.ph-hero { min-height: 68svh; padding-top: 120px; padding-bottom: 96px; }
.ph-hero .hero-title { font-size: clamp(2.6rem, 8vw, 5.4rem); }
.ph-hero .hero-sub { max-width: 640px; }

/* ============ HAIRLINE STAT ROW ============ */
.ph-stats {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 14px 40px; margin-top: 44px;
}
.ph-stat { text-align: center; }
.ph-stat b {
  display: block; font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700; letter-spacing: -0.03em;
}
.ph-stat span {
  font-size: 12px; color: var(--text-3);
  text-transform: uppercase; letter-spacing: 0.08em;
}

/* ============ CARDS ============
   Mirrors the .work-card recipe from site.css (card fill, 28px
   radius, hairline border, --wc radial tint, hover lift). */
.ph-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ph-card {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  padding: 36px 32px;
  border-radius: 28px;
  background: var(--card);
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.ph-card::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(120% 120% at 80% 0%, var(--wc, var(--accent)) 0%, transparent 45%);
  opacity: 0.06;
  transition: opacity 0.5s var(--ease);
}
a.ph-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
a.ph-card:hover::before { opacity: 0.12; }
.ph-card > * { position: relative; }
.ph-card-icon {
  width: 44px; height: 44px; border-radius: 14px;
  display: grid; place-items: center; margin-bottom: 20px;
  background: var(--bg-alt); border: 1px solid var(--line-soft);
  color: var(--wc, var(--accent));
}
.ph-card-icon svg { width: 21px; height: 21px; }
.ph-card h3 {
  font-size: 1.5rem; font-weight: 700;
  letter-spacing: -0.02em; margin-bottom: 12px;
}
.ph-card p { font-size: 1rem; color: var(--text-2); line-height: 1.55; }
.ph-card .btn-text { margin-top: 22px; font-size: 15px; }

/* ============ WORK GRID ============ */
.ph-work {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px;
}
.ph-work-item {
  position: relative; grid-column: span 2;
  border-radius: 20px; overflow: hidden;
  background: var(--bg-alt); border: 1px solid var(--line-soft);
}
/* first two run wider — the reel and the property tour carry the section */
.ph-work-item:nth-child(1), .ph-work-item:nth-child(2) { grid-column: span 3; }
.ph-work-item iframe {
  display: block; width: 100%; aspect-ratio: 16 / 9; border: 0;
}
.ph-work-tag {
  position: absolute; top: 12px; left: 12px; z-index: 1;
  font-size: 11px; font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 11px; border-radius: 980px;
  background: rgba(0, 0, 0, 0.62); color: #fff;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}

/* ============ PRICING CARDS ============ */
.ph-price-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px;
  max-width: 940px; margin: 0 auto;
}
.ph-price { padding: 0; }
.ph-price-top { padding: 36px 32px 28px; }
.ph-price-name {
  font-size: 1.45rem; font-weight: 700;
  letter-spacing: -0.02em; margin-bottom: 14px;
}
.ph-price-amt { display: flex; align-items: baseline; gap: 9px; }
.ph-price-amt .from {
  font-size: 12px; color: var(--text-3);
  text-transform: uppercase; letter-spacing: 0.08em;
}
.ph-price-amt .val {
  font-size: 2.6rem; font-weight: 700;
  letter-spacing: -0.04em; font-variant-numeric: tabular-nums;
}
/* featured: a hairline accent rule, not a filled card — the
   monochrome system marks emphasis with line weight, not color */
.ph-price--featured { border-color: var(--line); }
.ph-price--featured::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--accent);
}
.ph-price-flag {
  display: inline-block; margin-bottom: 14px;
  font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--text-3);
}
.ph-kicker {
  font-size: 12px; font-weight: 600; color: var(--text-3);
  text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 14px;
}
.ph-price-body { padding: 26px 32px; border-top: 1px solid var(--line-soft); }
.ph-list { list-style: none; display: grid; gap: 11px; }
.ph-list li {
  display: flex; align-items: flex-start; gap: 11px;
  font-size: 0.98rem; color: var(--text-2); line-height: 1.45;
}
.ph-list svg {
  width: 15px; height: 15px; flex: none; margin-top: 3px; color: var(--text);
}
/* add-ons: ruled off below the includes, "+$" aligned right */
.ph-addons { padding: 26px 32px; border-top: 1px solid var(--line-soft); }
.ph-addon {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 16px; padding: 8px 0; font-size: 0.95rem; color: var(--text-2);
}
.ph-addon b {
  font-weight: 600; color: var(--text);
  font-variant-numeric: tabular-nums; white-space: nowrap;
}
.ph-price-foot { margin-top: auto; padding: 26px 32px 32px; }
.ph-note {
  font-size: 13px; color: var(--text-3);
  line-height: 1.5; margin-bottom: 18px;
}
.btn-block { display: flex; justify-content: center; width: 100%; }
.btn-outline {
  padding: 12px 24px; border-radius: 980px;
  background: transparent; color: var(--text);
  border: 1px solid var(--line);
}
.btn-outline:hover { border-color: var(--text); transform: scale(1.02); }

/* ============ HAIRLINE GRID (always included) ============
   Same construction as .about-attrs on the landing page. */
.ph-hair {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px;
  background: var(--line-soft); border-radius: 16px; overflow: hidden;
}
.ph-hair-cell {
  background: var(--bg); padding: 22px 18px;
  display: flex; flex-direction: column; align-items: center;
  gap: 10px; text-align: center;
}
.ph-hair-cell svg { width: 19px; height: 19px; color: var(--text-3); }
.ph-hair-cell span { font-size: 0.92rem; font-weight: 600; }

/* ============ TAG ROW ============ */
.ph-tags { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }

/* ============ STEPS ============ */
.ph-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-soft); }
.ph-step { background: var(--bg); padding: 32px 28px; }
.ph-step .no {
  display: block; font-size: 13px; font-weight: 700;
  color: var(--text-3); font-variant-numeric: tabular-nums; margin-bottom: 14px;
}
.ph-step h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 8px; }
.ph-step p { font-size: 0.98rem; color: var(--text-2); line-height: 1.55; }

/* ============ CENTERED SECTION HEAD ============ */
.sec-head.center { text-align: center; max-width: 620px; margin-left: auto; margin-right: auto; }
.sec-head .sec-sub { font-size: 1.05rem; color: var(--text-2); margin-top: 14px; line-height: 1.55; }

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  .ph-grid { grid-template-columns: 1fr; }
  .ph-price-grid { grid-template-columns: 1fr; }
  .ph-work-item, .ph-work-item:nth-child(1), .ph-work-item:nth-child(2) { grid-column: span 3; }
  .ph-hair { grid-template-columns: repeat(2, 1fr); }
  .ph-steps { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .ph-hero { min-height: 56svh; padding-top: 100px; }
  .ph-work-item, .ph-work-item:nth-child(1), .ph-work-item:nth-child(2) { grid-column: span 6; }
  .ph-card { padding: 28px 24px; }
  .ph-price-top, .ph-price-body, .ph-addons, .ph-price-foot { padding-left: 24px; padding-right: 24px; }
}
