/* ==========================================================================
   Photography studio landing page
   Scoped to .ph-landing. Other templates keep the Atomy styling.
   ========================================================================== */

.ph-landing {
  --paper: #faf8f5;
  --paper-2: #f0ece6;
  --ink: #131110;
  --ink-2: #2d2926;
  --muted: #6f6862;
  --plum: #6e3a5f;
  --plum-light: #8c5079;
  --plum-soft: #f2eaef;
  --rule: #e0d9d0;
  --rule-dark: rgba(250, 248, 245, 0.16);

  --display: "Syne", "Helvetica Neue", Arial, sans-serif;
  --body: "Karla", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --wrap: 1280px;
  --gutter: 26px;

  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.66;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.ph-landing *,
.ph-landing *::before,
.ph-landing *::after { box-sizing: border-box; }

.ph-landing img { max-width: 100%; height: auto; display: block; }
.ph-landing p { margin: 0; }

.ph-landing h1,
.ph-landing h2,
.ph-landing h3 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.035em;
  margin: 0;
  color: var(--ink);
}

.ph-wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.ph-eyebrow {
  display: inline-block;
  font-family: var(--body);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--plum);
}
.ph-eyebrow--light { color: rgba(250, 248, 245, .75); }

/* ---------- Buttons ---------- */
.ph-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 30px;
  font-family: var(--body);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 2px;
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
.ph-btn--plum { background: var(--plum); color: #fff; }
.ph-btn--plum:hover { background: var(--plum-light); color: #fff; }
.ph-btn--ink { background: var(--ink); color: var(--paper); }
.ph-btn--ink:hover { background: var(--ink-2); color: var(--paper); }
.ph-btn--paper { background: var(--paper); color: var(--ink); }
.ph-btn--paper:hover { background: #fff; color: var(--ink); }
.ph-btn--line { border-color: var(--rule); color: var(--ink); }
.ph-btn--line:hover { border-color: var(--ink); }
.ph-btn--line-light { border-color: var(--rule-dark); color: var(--paper); }
.ph-btn--line-light:hover { border-color: var(--paper); }
.ph-btn--sm { padding: 12px 22px; font-size: 12.5px; }

/* ---------- Header ---------- */
.ph-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(250, 248, 245, .94);
  backdrop-filter: saturate(150%) blur(9px);
  border-bottom: 1px solid var(--rule);
}
.ph-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 26px; height: 78px; }
.ph-logo { text-decoration: none; display: block; }
.ph-logo__name {
  font-family: var(--display); font-size: 22px; font-weight: 800;
  letter-spacing: -0.04em; color: var(--ink); line-height: 1;
  text-transform: lowercase;
}
.ph-logo__sub {
  display: block; font-size: 9.5px; font-weight: 700; letter-spacing: .28em;
  text-transform: uppercase; color: var(--muted); margin-top: 6px;
}
.ph-nav { display: flex; gap: 30px; }
.ph-nav a {
  font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted); text-decoration: none;
}
.ph-nav a:hover { color: var(--plum); }

/* ---------- Hero: full-bleed image with overlay ---------- */
.ph-hero { position: relative; min-height: 78vh; display: flex; align-items: flex-end; overflow: hidden; }
.ph-hero__bg { position: absolute; inset: 0; }
.ph-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.ph-hero__bg::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(19,17,16,.9) 0%, rgba(19,17,16,.55) 42%, rgba(19,17,16,.18) 100%);
}
.ph-hero__inner { position: relative; width: 100%; padding: 0 0 68px; }
.ph-hero h1 {
  color: var(--paper);
  font-size: clamp(2.7rem, 7vw, 5.4rem);
  margin: 22px 0 0;
  max-width: 15ch;
}
.ph-hero__lede {
  color: rgba(250, 248, 245, .82);
  font-size: 18.5px; max-width: 50ch; margin-top: 22px;
}
.ph-hero__actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 32px; }
.ph-hero__meta {
  display: flex; flex-wrap: wrap; gap: 10px 30px;
  margin-top: 34px; padding-top: 26px;
  border-top: 1px solid var(--rule-dark);
  font-size: 13.5px; color: rgba(250, 248, 245, .68);
}

/* ---------- Sections ---------- */
.ph-section { padding: 104px 0; }
.ph-section--tint { background: var(--paper-2); }
.ph-section--ink { background: var(--ink); color: rgba(250, 248, 245, .72); }
.ph-section--ink h2, .ph-section--ink h3 { color: var(--paper); }

.ph-head { max-width: 720px; margin-bottom: 60px; }
.ph-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.ph-head h2 { font-size: clamp(2.1rem, 4.2vw, 3.3rem); margin: 20px 0 18px; }
.ph-head p { font-size: 18px; color: var(--muted); }
.ph-section--ink .ph-head p { color: rgba(250, 248, 245, .66); }

/* ---------- Sessions: image-topped cards ---------- */
.ph-sessions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.ph-session { background: transparent; }
.ph-session__img {
  position: relative; overflow: hidden;
  aspect-ratio: 4 / 5; background: var(--paper-2);
  margin-bottom: 22px;
}
.ph-session__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.ph-session:hover .ph-session__img img { transform: scale(1.04); }
.ph-session__badge {
  position: absolute; left: 0; bottom: 0;
  background: var(--paper); color: var(--ink);
  font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  padding: 9px 16px;
}
.ph-session h3 { font-size: 24px; margin-bottom: 10px; }
.ph-session p { color: var(--muted); font-size: 15.5px; }
.ph-session__meta {
  margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--rule);
  display: flex; justify-content: space-between; gap: 16px;
  font-size: 13.5px; color: var(--ink-2);
}
.ph-session__meta strong { color: var(--plum); font-weight: 700; }

/* ---------- Gallery mosaic ---------- */
.ph-mosaic {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 14px;
}
.ph-mosaic figure { margin: 0; overflow: hidden; background: var(--paper-2); }
.ph-mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.ph-mosaic figure:hover img { transform: scale(1.05); }
.ph-mosaic .is-tall { grid-row: span 2; }
.ph-mosaic .is-wide { grid-column: span 2; }

/* ---------- Studio spec ---------- */
.ph-studio { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
.ph-studio__img { position: relative; }
.ph-studio__img img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.ph-studio h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); margin: 20px 0 18px; }
.ph-studio > div > p { color: rgba(250, 248, 245, .7); font-size: 17.5px; }
.ph-specs { list-style: none; margin: 30px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 22px 30px; }
.ph-specs li { border-top: 1px solid var(--rule-dark); padding-top: 14px; }
.ph-specs strong {
  display: block; font-family: var(--display); font-size: 20px; font-weight: 700;
  color: var(--paper); letter-spacing: -0.02em; margin-bottom: 4px;
}
.ph-specs span { font-size: 14px; color: rgba(250, 248, 245, .6); }

/* ---------- Process ---------- */
.ph-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.ph-step { border-top: 2px solid var(--plum); padding-top: 24px; }
.ph-step__n {
  font-family: var(--display); font-size: 13px; font-weight: 700;
  letter-spacing: .18em; color: var(--plum); margin-bottom: 14px;
}
.ph-step h3 { font-size: 22px; margin-bottom: 10px; }
.ph-step p { color: var(--muted); font-size: 15.5px; }

/* ---------- Pricing list ---------- */
.ph-prices { border-top: 1px solid var(--rule); max-width: 940px; margin: 0 auto; }
.ph-price {
  display: grid; grid-template-columns: 1fr auto;
  gap: 20px 40px; align-items: baseline;
  padding: 28px 0; border-bottom: 1px solid var(--rule);
}
.ph-price h3 { font-size: 24px; margin-bottom: 8px; }
.ph-price p { color: var(--muted); font-size: 15.5px; max-width: 58ch; }
.ph-price__amt {
  font-family: var(--display); font-size: 28px; font-weight: 700;
  color: var(--plum); letter-spacing: -0.03em; white-space: nowrap;
}
.ph-price__amt small { display: block; font-family: var(--body); font-size: 12.5px; font-weight: 500; color: var(--muted); letter-spacing: 0; margin-top: 5px; }
.ph-prices__note { margin-top: 26px; font-size: 14.5px; color: var(--muted); text-align: center; }

/* ---------- FAQ ---------- */
.ph-faq { display: grid; grid-template-columns: repeat(2, 1fr); gap: 38px 56px; max-width: 1000px; margin: 0 auto; }
.ph-faq h3 { font-size: 19px; margin-bottom: 10px; }
.ph-faq p { color: var(--muted); font-size: 16px; }

/* ---------- CTA ---------- */
.ph-cta { position: relative; padding: 128px 0; overflow: hidden; text-align: center; }
.ph-cta__bg { position: absolute; inset: 0; }
.ph-cta__bg img { width: 100%; height: 100%; object-fit: cover; }
.ph-cta__bg::after { content: ""; position: absolute; inset: 0; background: rgba(19,17,16,.76); }
.ph-cta__inner { position: relative; }
.ph-cta h2 { color: var(--paper); font-size: clamp(2.2rem, 4.6vw, 3.5rem); margin: 22px auto 20px; max-width: 17ch; }
.ph-cta p { color: rgba(250, 248, 245, .78); font-size: 18px; max-width: 50ch; margin: 0 auto; }
.ph-cta__actions { display: flex; flex-wrap: wrap; gap: 13px; justify-content: center; margin-top: 34px; }
.ph-cta__contact {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 44px;
  margin-top: 48px; padding-top: 34px; border-top: 1px solid var(--rule-dark);
}
.ph-cta__contact div { text-align: left; }
.ph-cta__contact span { display: block; font-size: 10.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: rgba(250,248,245,.55); margin-bottom: 5px; }
.ph-cta__contact a, .ph-cta__contact strong { color: var(--paper); font-size: 16px; font-weight: 600; text-decoration: none; }
.ph-cta__contact a:hover { text-decoration: underline; }

/* ---------- Footer ---------- */
.ph-footer { background: var(--ink); color: rgba(250, 248, 245, .58); padding: 56px 0 30px; font-size: 15px; }
.ph-footer__cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 42px; padding-bottom: 38px; border-bottom: 1px solid var(--rule-dark); }
.ph-footer .ph-logo__name { color: var(--paper); }
.ph-footer h4 { font-family: var(--body); font-size: 11.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--paper); margin-bottom: 16px; }
.ph-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ph-footer a { color: rgba(250, 248, 245, .66); text-decoration: none; }
.ph-footer a:hover { color: var(--plum-light); }
.ph-footer__blurb { margin-top: 16px; max-width: 32ch; font-size: 14.5px; }
.ph-footer__base { padding-top: 26px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: 13.5px; }
.ph-footer__credit { margin-top: 14px; font-size: 12px; color: rgba(250, 248, 245, .34); }
.ph-footer__credit a { color: rgba(250, 248, 245, .5); text-decoration: underline; }

/* ---------- Responsive ---------- */
@media (max-width: 1060px) {
  .ph-sessions { grid-template-columns: 1fr 1fr; }
  .ph-studio { grid-template-columns: 1fr; gap: 40px; }
  .ph-steps { grid-template-columns: 1fr; gap: 30px; }
  .ph-mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .ph-faq { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 720px) {
  .ph-nav { display: none; }
  .ph-header__inner { height: 68px; }
  .ph-section { padding: 72px 0; }
  .ph-hero { min-height: 74vh; }
  .ph-hero__inner { padding-bottom: 48px; }
  .ph-cta { padding: 88px 0; }
  .ph-sessions { grid-template-columns: 1fr; }
  .ph-mosaic { grid-template-columns: 1fr; grid-auto-rows: 260px; }
  .ph-mosaic .is-wide, .ph-mosaic .is-tall { grid-column: auto; grid-row: auto; }
  .ph-specs { grid-template-columns: 1fr; }
  .ph-price { grid-template-columns: 1fr; }
  .ph-footer__cols { grid-template-columns: 1fr; }
  .ph-cta__contact { justify-content: flex-start; }
  .ph-hero__actions .ph-btn, .ph-cta__actions .ph-btn { flex: 1 1 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .ph-landing * { transition: none !important; }
}
