/* copy_pages.css: the reading pages (js/copy_pages.js), the occasions on /collections, and the brand lines services.js puts on
   the saree and concierge pages. Loaded after services.css; it builds on .svc-panel and .policy-body. */

main.page.cp-page { max-width: calc(66ch + 2 * var(--gutter) + 92px); padding-bottom: calc(var(--vh) * 14); }
.cp-page .svc-panel + .svc-panel { margin-top: 26px; }
.cp-page .cp-first { font-size: var(--t4); line-height: 1.4; }

/* one line on the film between panels */
.cp-say { margin: calc(var(--vh) * 11) auto; text-align: center; font-style: italic; font-size: var(--t6); line-height: 1.2; text-wrap: balance; }
.cp-say .glow { display: inline-block; }
.cp-say .glow::after { content: ""; position: absolute; left: 50%; top: -20px; width: 44px; height: 10px; margin-left: -22px; background: url("/assets/look2/trio.svg") center / 44px 10px no-repeat; }
@media (min-width: 720px) { .cp-say { font-size: var(--t7); } }

.cp-fig { margin: 8px 0 20px; max-width: none; }
.cp-fig img { display: block; width: 100%; height: auto; outline: 1px solid rgba(226, 200, 138, 0.38); outline-offset: 3px; }
.cp-fig figcaption { margin-top: 12px; font-family: var(--sans); font-size: var(--t1); letter-spacing: 0.04em; color: var(--ink-2); }

.cp-letter .cp-dear { font-size: var(--t4); font-style: italic; }
.cp-sign { margin-top: 26px !important; font-style: italic; }
.cp-sign b { display: block; margin-top: 4px; font-size: var(--t5); font-style: normal; font-weight: 400; color: var(--gold-2); }
.cp-after { display: flex; flex-direction: column; align-items: center; gap: 20px; margin-top: calc(var(--vh) * 9); text-align: center; }
.cp-after p { max-width: 44ch; margin: 0; font-size: var(--t3); text-wrap: pretty; }

.cp-steps { list-style: none; counter-reset: cp; margin: 0 0 16px; padding: 0; }
.cp-steps li { counter-increment: cp; position: relative; padding: 0 0 16px 46px; margin: 0; }
.cp-steps li::before { content: counter(cp); position: absolute; left: 0; top: -6px; width: 34px; font-size: var(--t6); line-height: 1.2; color: var(--gold-2); font-variant-numeric: lining-nums; }
.policy-body .cp-note { padding-top: 14px; font-style: italic; border-top: 1px solid var(--rule); }
body[data-look="2"] .policy-body .cp-note { border-image: var(--l2-thread) 1; }
.cp-next .svc-dl { margin-bottom: 0; }

.policy-body .cp-tiles { list-style: none; margin: 18px 0 8px; padding: 0; display: grid; gap: 18px; max-width: none; }
.cp-tiles li { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 16px; align-items: center; margin: 0; padding: 0; }
.cp-tiles li::marker { content: none; }
.cp-tiles img, .cp-pics img { display: block; width: 100%; height: auto; aspect-ratio: 2 / 3; object-fit: cover; outline: 1px solid rgba(226, 200, 138, 0.38); outline-offset: 3px; }
.cp-tiles p { margin: 0; line-height: 1.35; }
@media (min-width: 720px) { .policy-body .cp-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; } .cp-tiles li { grid-template-columns: minmax(0, 1fr); align-items: start; } }
.cp-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 18px; max-width: none; }

/* the occasions on /collections */
.cp-occ { margin-top: calc(var(--vh) * 12); padding-bottom: calc(var(--vh) * 12); }
.cp-occ > h2 { font-size: var(--t6); margin: 0 0 6px; }
.cp-occ .glow { display: inline-block; }
.cp-pics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: auto; }
.cp-pics figure { margin: 0; }
.cp-pics a { display: block; text-decoration: none; }
.cp-pics a:hover img { outline-color: rgba(243, 225, 166, 0.75); }
.cp-pics figcaption { margin-top: 10px; font-family: var(--sans); font-size: var(--t1); line-height: 1.25; }

/* the saree page */
.cp-sline { position: relative; isolation: isolate; max-width: 60ch; margin: 0 0 18px; }
.cp-sline::before, .cp-reassure::before { content: ""; position: absolute; inset: -6px -10px; z-index: -1; background: rgba(5, 7, 5, 0.56); filter: blur(18px); border-radius: 30px; pointer-events: none; }
.cp-sline p { margin: 0; font-size: var(--t4); line-height: 1.4; text-wrap: pretty; }
.cp-sline .cp-closer { margin-top: 8px; font-size: var(--t3); font-style: italic; color: var(--gold-2); }
.cp-reassure { position: relative; isolation: isolate; display: grid; gap: 12px 24px; border-top: 1px solid var(--rule); padding: 12px 0 14px; }
body[data-look="2"] .cp-reassure { border-image: var(--l2-thread) 1; }
.cp-reassure b { display: block; font-weight: 400; font-size: var(--t3); color: var(--gold-2); }
.cp-reassure span { font-size: var(--t2); line-height: 1.35; }
@media (min-width: 560px) { .cp-reassure { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* the concierge page */
.cp-ask { margin-bottom: 26px; }
.cp-ask ul { margin-bottom: 0; }

/* the policy list's lozenge marker stays off the numbered steps and the tiles */
.policy-body .cp-steps li::marker, .policy-body .cp-tiles li::marker { content: ""; }
.cp-tiles li { align-content: start; }

/* ---- the feminine pass ---- */
.cp-say { position: relative; padding-bottom: 26px; }
.cp-say::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 96px; height: 8px; margin-left: -48px; background: var(--f-scallop) 0 0 / 24px 8px repeat-x; }
.cp-page .cp-first { font-style: italic; }
.cp-page .cp-first::first-letter { float: left; font-size: 3.1em; line-height: 0.82; padding: 0.06em 0.09em 0 0; color: var(--gold-2); font-style: italic; }
.cp-letter .cp-dear { color: var(--gold-2); font-size: var(--t5); }
.cp-sign { padding-top: 26px; background: var(--f-scallop) 0 0 / 24px 8px repeat-x; width: fit-content; min-width: 192px; }
.cp-sign b { font-family: var(--serif); font-size: var(--t6); font-style: italic; }
.cp-steps li::before { font-style: italic; }
body[data-look="2"] .policy-body .cp-note { border: 0; border-image: none; padding-top: 22px; background: var(--f-scallop) 0 0 / 24px 8px repeat-x; }
body[data-look="2"] .cp-reassure { border: 0; border-image: none; padding-top: 22px; background: var(--f-scallop) 0 0 / 24px 8px repeat-x; }
.cp-reassure b { font-family: var(--serif); font-style: italic; }
.cp-occ > h2 { font-style: italic; font-weight: 400; }
.cp-pics figcaption { font-family: var(--serif); font-style: italic; font-size: var(--t2); }
.cp-fig figcaption { font-family: var(--serif); font-style: italic; font-size: var(--t2); letter-spacing: 0; }

/* ---- bright pass (11 Nov): no dark pools under the lines, the hairline frames in the deeper gold ---- */
.cp-sline::before, .cp-reassure::before { background: rgba(255, 250, 238, 0.5); filter: blur(16px); }
.cp-fig img, .cp-tiles img, .cp-pics img { outline-color: rgba(122, 87, 22, 0.34); }
.cp-pics a:hover img { outline-color: rgba(122, 87, 22, 0.7); }
.cp-say .glow::after { filter: brightness(0.78) saturate(1.2); }
