/* =========================================================
   CONTENT PAGES — editorial layouts for the real
   destination pages (gallery, occasions, categories,
   build, about, contact, faq, service, corporate,
   weddings, studio & press). Leans on styles.css tokens.
   ========================================================= */

/* ---------- page hero ---------- */
.cp-hero {
  padding: clamp(56px, 8vw, 110px) 0 clamp(36px, 5vw, 64px);
  text-align: center;
}
.cp-hero--blush { background: linear-gradient(180deg, var(--blush-50), #fff); }
.cp-hero .container { max-width: 920px; }
.cp-hero h1 {
  font-family: var(--display); font-weight: 300;
  font-size: clamp(38px, 6vw, 76px); line-height: 1.02;
  letter-spacing: -.02em; margin: 14px 0 0; color: var(--ink);
}
.cp-hero h1 em { font-style: italic; color: var(--pink-deep); }
.cp-hero .lede {
  max-width: 60ch; margin: 22px auto 0;
  color: var(--muted); font-size: clamp(15px, 1.6vw, 18px); line-height: 1.7;
  text-wrap: pretty;
}
.cp-hero-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 32px; }

/* ---------- generic section ---------- */
.cp-section { padding: clamp(48px, 7vw, 96px) 0; }
.cp-section--gray { background: var(--gray-50); }
.cp-section--blush { background: var(--blush-50); }
.cp-section-head { max-width: 760px; margin: 0 auto clamp(32px, 4vw, 54px); text-align: center; }
.cp-section-head.left { text-align: left; margin-left: 0; }
.cp-section-head h2 {
  font-family: var(--display); font-weight: 300;
  font-size: clamp(28px, 3.6vw, 44px); letter-spacing: -.015em;
  margin: 10px 0 0; color: var(--ink);
}
.cp-section-head h2 em { font-style: italic; color: var(--pink-deep); }
.cp-section-head p { color: var(--muted); margin: 14px 0 0; font-size: 16px; line-height: 1.7; text-wrap: pretty; }

/* ---------- prose ---------- */
.cp-prose { max-width: 68ch; margin: 0 auto; color: var(--ink-soft); }
.cp-prose.wide { max-width: 80ch; }
.cp-prose p { font-size: 17px; line-height: 1.8; margin: 0 0 1.2em; text-wrap: pretty; }
.cp-prose h3 { font-family: var(--display); font-weight: 400; font-size: 24px; margin: 1.6em 0 .5em; color: var(--ink); }
.cp-prose strong { color: var(--ink); font-weight: 600; }

/* ---------- card grids ---------- */
.cp-grid { display: grid; gap: 22px; }
.cp-grid-2 { grid-template-columns: repeat(2, 1fr); }
.cp-grid-3 { grid-template-columns: repeat(3, 1fr); }
.cp-grid-4 { grid-template-columns: repeat(4, 1fr); }

.cp-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 30px; transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.cp-card--soft { box-shadow: var(--shadow-card); }
.cp-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-h); }
.cp-card-ic {
  width: 46px; height: 46px; border-radius: 13px; flex: none;
  display: flex; align-items: center; justify-content: center;
  background: var(--blush-50); color: var(--pink-deep); margin-bottom: 18px;
}
.cp-card h3 { font-family: var(--display); font-weight: 400; font-size: 21px; margin: 0 0 8px; color: var(--ink); letter-spacing: -.01em; }
.cp-card p { color: var(--muted); font-size: 14.5px; line-height: 1.65; margin: 0; }

/* ---------- visual tile (image card linking to shop) ---------- */
.cp-tile { display: flex; flex-direction: column; border-radius: var(--r-lg); overflow: hidden; position: relative; background: #fff; border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.cp-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-h); }
.cp-tile-img { display: block; aspect-ratio: 4 / 5; overflow: hidden; }
.cp-tile-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.cp-tile:hover .cp-tile-img img { transform: scale(1.05); }
.cp-tile-body { padding: 18px 20px 22px; display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: auto; }
.cp-tile-body h3 { font-family: var(--display); font-weight: 400; font-size: 20px; margin: 0; color: var(--ink); }
.cp-tile-body .cp-tile-sub { font-size: 12px; color: var(--muted-2); letter-spacing: .03em; display: block; margin-top: 3px; }
.cp-tile-arrow {
  width: 30px; height: 30px; border-radius: 50%; flex: none;
  background: var(--gray-100); display: flex; align-items: center; justify-content: center;
  color: var(--ink); transition: all .3s var(--ease);
}
.cp-tile:hover .cp-tile-arrow { background: var(--ink); color: #fff; transform: translateX(3px); }

/* ---------- gallery (masonry-ish uniform) ---------- */
.cp-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cp-gallery a { display: block; border-radius: var(--r-md); overflow: hidden; aspect-ratio: 1; background: var(--gray-50); position: relative; }
.cp-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.cp-gallery a:hover img { transform: scale(1.06); }
.cp-gallery .cp-g-cap {
  position: absolute; inset: auto 0 0 0; padding: 26px 16px 14px;
  background: linear-gradient(0deg, rgba(20,16,22,.6), transparent);
  color: #fff; font-size: 13px; letter-spacing: .02em; opacity: 0; transition: opacity .3s ease;
}
.cp-gallery a:hover .cp-g-cap { opacity: 1; }
.cp-gallery .span-2 { grid-column: span 1; aspect-ratio: 1 / 1; }

/* ---------- stat band ---------- */
.cp-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; text-align: center; }
.cp-stats .num { font-family: var(--display); font-weight: 300; font-size: clamp(34px, 4vw, 52px); color: var(--ink); line-height: 1; }
.cp-stats .lbl { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); margin-top: 10px; }

/* ---------- contact ---------- */
.cp-contact { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: start; }
.cp-contact-info .cp-ci-row { display: flex; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.cp-contact-info .cp-ci-row:last-child { border-bottom: 0; }
.cp-ci-ic { width: 40px; height: 40px; border-radius: 11px; flex: none; display: flex; align-items: center; justify-content: center; background: var(--blush-50); color: var(--pink-deep); }
.cp-ci-row h4 { margin: 0 0 3px; font-size: 14px; color: var(--ink); }
.cp-ci-row p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }
.cp-form { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px; box-shadow: var(--shadow-card); }
.cp-form .field { margin-bottom: 16px; }
.cp-form label { display: block; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 7px; }
.cp-form input, .cp-form textarea, .cp-form select {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px;
  background: var(--gray-50); color: var(--ink); font-family: var(--sans); font-size: 15px;
}
.cp-form input:focus, .cp-form textarea:focus, .cp-form select:focus { outline: none; border-color: var(--pink-deep); background: #fff; }
.cp-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }

/* ---------- faq ---------- */
.cp-faq { max-width: 760px; margin: 0 auto; }
.cp-faq details { border-bottom: 1px solid var(--line); }
.cp-faq summary {
  list-style: none; cursor: pointer; padding: 22px 4px; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-family: var(--display); font-size: 19px; color: var(--ink); font-weight: 400;
}
.cp-faq summary::-webkit-details-marker { display: none; }
.cp-faq summary::after { content: "+"; font-size: 24px; color: var(--pink-deep); flex: none; transition: transform .25s ease; font-family: var(--sans); }
.cp-faq details[open] summary::after { content: "−"; }
.cp-faq .cp-faq-body { padding: 0 4px 24px; color: var(--muted); font-size: 15px; line-height: 1.75; max-width: 64ch; text-wrap: pretty; }

/* ---------- steps (numbered) ---------- */
.cp-steps { counter-reset: cp; display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.cp-step { position: relative; padding-top: 14px; }
.cp-step .n { font-family: var(--display); font-style: italic; font-size: 40px; color: var(--pink); line-height: 1; }
.cp-step h4 { font-family: var(--display); font-weight: 400; font-size: 20px; margin: 12px 0 6px; color: var(--ink); }
.cp-step p { color: var(--muted); font-size: 14.5px; line-height: 1.65; margin: 0; }

/* ---------- split (image + text) ---------- */
.cp-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 64px); align-items: center; }
.cp-split--rev .cp-split-media { order: 2; }
.cp-split-media { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 5 / 4; background: var(--gray-50); }
.cp-split-media img { width: 100%; height: 100%; object-fit: cover; }
.cp-split-body h2 { font-family: var(--display); font-weight: 300; font-size: clamp(26px, 3.4vw, 40px); letter-spacing: -.015em; margin: 10px 0 0; color: var(--ink); }
.cp-split-body h2 em { font-style: italic; color: var(--pink-deep); }
.cp-split-body p { color: var(--muted); font-size: 16px; line-height: 1.75; margin: 16px 0 0; text-wrap: pretty; }

/* ---------- CTA banner (reuse-ish) ---------- */
.cp-cta { background: var(--ink); color: #fff; border-radius: var(--r-xl); padding: clamp(40px, 6vw, 72px); text-align: center; }
.cp-cta h2 { font-family: var(--display); font-weight: 300; font-size: clamp(28px, 4vw, 46px); margin: 0; letter-spacing: -.015em; }
.cp-cta h2 em { font-style: italic; color: var(--pink); }
.cp-cta p { color: rgba(255,255,255,.7); margin: 16px auto 0; max-width: 52ch; font-size: 16px; line-height: 1.7; }
.cp-cta .cp-hero-ctas { margin-top: 30px; }
.cp-cta .btn--ghost { color: #fff; border-color: rgba(255,255,255,.35); }
.cp-cta .btn--ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .cp-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .cp-grid-3, .cp-steps { grid-template-columns: repeat(2, 1fr); }
  .cp-gallery { grid-template-columns: repeat(2, 1fr); }
  .cp-contact, .cp-split, .cp-split--rev .cp-split-media { grid-template-columns: 1fr; }
  .cp-split--rev .cp-split-media { order: 0; }
  .cp-stats { grid-template-columns: repeat(2, 1fr); gap: 30px; }
}
@media (max-width: 620px) {
  .cp-grid-2, .cp-grid-3, .cp-grid-4, .cp-steps { grid-template-columns: 1fr; }
  .cp-gallery { grid-template-columns: 1fr 1fr; }
  .cp-gallery .span-2 { grid-column: span 2; }
  .cp-form-grid { grid-template-columns: 1fr; }
}
