/* services.css: the collections, concierge and policy pages and the two home sections (js/services.js). Loaded after look3.css.
   It reuses the site's own parts (.btn, .field, .check, .link, .form-error, .grid of .card, .sample-note) and adds only:
   - .svc-panel: the same panel as the bag, checkout and account panels (ornament.css), and in Look 2 the same velvet,
     gold hairline, zari band and jali corners (look2.css), so a new panel cannot be told apart from an old one;
   - the collection panel (name, blurb, a row of the collection's own photos, the count and a link);
   - long-form reading for the policy pages (about 66 characters a line);
   - .tbc: the visible "[To confirm: ...]" preview marker for facts the founders still have to give.
   Phone first (390 px), no horizontal scroll. Nothing here animates except Look 2's one pass of light along a panel's thread. */

/* ==== the panel ==================================================================================================== */
.svc-panel {
  position: relative; isolation: isolate;
  padding: 26px 22px;
  background:
    radial-gradient(ellipse 80% 70% at 50% 42%, rgba(18, 20, 15, 0.34), rgba(4, 5, 4, 0.68) 100%),
    linear-gradient(180deg, rgba(226, 200, 138, 0.035), transparent 30%);
  border: 1px solid rgba(226, 200, 138, 0.3);
  -webkit-backdrop-filter: blur(var(--sku-blur, 10px)) saturate(0.9); backdrop-filter: blur(var(--sku-blur, 10px)) saturate(0.9);
  box-shadow: 0 24px 48px -18px rgba(0, 0, 0, 0.55);
  /* the panel lies under the words: the lighter shadow the other panels use */
  --on-film: 0 1px 2px rgba(4, 5, 4, 0.95), 0 0 6px rgba(4, 5, 4, 0.85), 0 0 14px rgba(4, 5, 4, 0.6);
  min-width: 0;
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .svc-panel { background: rgba(6, 8, 6, 0.72); } }
@media (min-width: 720px) { .svc-panel { padding: 34px 38px; } }
.svc-panel > :last-child { margin-bottom: 0; }

/* Look 2: exactly the treatment look2.css gives the bag and account panels */
body[data-look="2"] .svc-panel {
  background: var(--l2-grain), var(--l2-jali), var(--l2-velvet);
  border: 1px solid transparent;
  border-image: var(--l2-hair) 1;
  box-shadow: inset 0 0 34px rgba(86, 100, 72, 0.12), 0 30px 56px -26px rgba(0, 0, 0, 0.78);
}
body[data-look="2"] .svc-panel::before {
  content: ""; position: absolute; inset: var(--zi); z-index: -1; pointer-events: none;
  border: var(--zw) solid transparent;
  border-image: url("/assets/look2/zari_frame.svg") 20 / var(--zw) round;
  opacity: 0.9;
}
body[data-look="2"] .svc-panel::after {
  content: ""; display: block; position: absolute; inset: -1px; z-index: -1; pointer-events: none;
  padding: calc(var(--zi) + var(--zw) + 1px);
  background: linear-gradient(112deg, transparent 38%, rgba(255, 238, 190, 0.0) 42%, rgba(255, 240, 200, 0.85) 50%, rgba(255, 238, 190, 0.0) 58%, transparent 62%) 120% 0 / 260% 100% no-repeat;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask-composite: exclude;
  mix-blend-mode: screen; opacity: 0;
}
/* the content sits clear of the zari band */
body[data-look="2"] .svc-panel { padding: 30px 26px; }
@media (min-width: 720px) { body[data-look="2"] .svc-panel { padding: 40px 44px; } }

/* ==== shared words =================================================================================================== */
.svc-page h1 { margin-bottom: 10px; }
.svc-lede { position: relative; isolation: isolate; width: fit-content; max-width: min(100%, 60ch); margin: 0 0 calc(var(--vh) * 4); font-style: italic; font-size: var(--t4); line-height: 1.35; text-wrap: pretty; }
.svc-lede::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; }
.svc-panel h2 { font-size: var(--t5); margin: 0 0 10px; text-wrap: balance; }
.svc-panel h3 { font-size: var(--t4); margin: 0 0 8px; }
.svc-panel p { text-wrap: pretty; }
.svc-kicker { display: block; font-family: var(--sans); font-size: var(--t1); letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-2); margin: 0 0 10px; }
.opt { font-style: normal; color: var(--ink-2); font-weight: 400; }
.svc-done { font-size: var(--t4); line-height: 1.4; margin: 6px 0 0; }
.svc-done b { color: var(--gold-2); }

/* the marker for facts still to come from the founders: plainly a preview mark, never mistaken for a fact */
.tbc {
  display: inline; padding: 0.05em 0.4em; margin: 0 0.05em;
  font-family: var(--sans); font-size: 0.86em; font-style: normal; font-weight: 400; line-height: 1.5;
  color: #fbe3ef; background: rgba(224, 64, 143, 0.18); border: 1px dashed rgba(240, 170, 205, 0.8); border-radius: 2px;
  text-shadow: none; overflow-wrap: anywhere; -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.tbc-note { font-family: var(--sans); font-size: var(--t2); color: var(--ink-2); margin: 0 0 22px; }

/* ==== collections ===================================================================================================== */
.coll-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 26px; }
@media (min-width: 720px) { .coll-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; } }
@media (min-width: 1100px) { .svc-home .coll-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.coll { display: flex; flex-direction: column; }
.coll-head { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 10px; row-gap: 2px; margin-bottom: 6px; }
.coll-head h3, .coll-head h2 { margin: 0; font-size: var(--t5); }
.coll-head a { text-decoration: none; }
.coll-head a:hover { color: var(--gold-2); }
.coll .sample-note { margin-left: 0; }
.coll-blurb { font-style: italic; color: var(--ink); margin: 0 0 16px; min-height: 2.9em; }
/* the collection's own photos, first photo of each saree, whole (the photos are 2:3 and so is the box) */
.coll-mosaic { --gap: 8px; display: grid; grid-template-columns: repeat(var(--n, 3), calc((100% - 2 * var(--gap)) / 3)); justify-content: center; gap: var(--gap); margin: 0 0 18px; text-decoration: none; }
.coll-mosaic img { width: 100%; aspect-ratio: 2 / 3; height: auto; object-fit: cover; background: rgba(4, 5, 4, 0.6); outline: 1px solid rgba(226, 200, 138, 0.38); outline-offset: 3px; }
.coll-mosaic:hover img { outline-color: rgba(243, 225, 166, 0.75); }
.coll-foot { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; }
.coll-foot .label { font-size: var(--t2); letter-spacing: 0.04em; }
.coll-big .coll-mosaic { --gap: 10px; }
@media (min-width: 720px) { .coll-big .coll-head h2 { font-size: var(--t6); } }
.coll-back { display: inline-flex; margin: 0 0 8px; }
.coll-one-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.coll-one-head h1 { margin-bottom: 10px; }
#coll-root > .grid { margin-top: calc(var(--vh) * 2); }
.svc-lost { width: fit-content; max-width: 100%; min-width: min(100%, 300px); }
.svc-lost p { margin-bottom: 18px; }

/* ==== the two home sections ============================================================================================ */
.svc-home { max-width: var(--max); margin: 0 auto; padding: calc(var(--vh) * 26) var(--gutter) calc(var(--vh) * 8); }
@media (min-width: 720px) { .svc-home { padding-left: calc(var(--gutter) + 3vw); padding-right: calc(var(--gutter) + 3vw); } }
.svc-home-head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; margin: 0 auto 30px; }
.svc-home-head h2 { font-size: var(--t7); }
.svc-home-more { display: flex; justify-content: center; margin-top: 26px; }
#notify.svc-home { padding-top: 0; padding-bottom: calc(var(--vh) * 18); }
.svc-notify-box { max-width: 560px; margin: 0 auto; }
.svc-notify-box h2 { font-size: var(--t6); }

/* ==== forms ============================================================================================================ */
.svc-form { margin-top: 16px; }
.svc-form .field > span .opt { font-size: var(--t1); }
.svc-form .check { align-items: flex-start; padding-top: 10px; line-height: 1.35; }
.svc-form .check input { margin-top: -1px; }
.svc-form .btn[type="submit"] { min-width: 200px; }
@media (max-width: 479px) { .svc-form .btn[type="submit"] { width: 100%; } }
.svc-row2 { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 18px; }
@media (min-width: 560px) { .svc-row2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.svc-fieldset { border: 0; padding: 0; margin: 0 0 14px; min-width: 0; }
.svc-fieldset > legend { padding: 0; margin: 0 0 4px; font-family: var(--sans); font-size: var(--t2); color: var(--ink); }
.svc-modes { display: flex; flex-wrap: wrap; gap: 0 22px; }
.svc-modes .check input { accent-color: var(--gold); }
.svc-picks { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; margin: 6px 0 0; padding: 0; list-style: none; }
@media (min-width: 560px) { .svc-picks { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.svc-pick { display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 6px 8px; border: 1px solid rgba(226, 200, 138, 0.2); background: rgba(4, 5, 4, 0.35); font-family: var(--sans); font-size: var(--t2); line-height: 1.25; cursor: pointer; }
.svc-pick:hover { border-color: rgba(226, 200, 138, 0.5); }
.svc-pick input { width: 22px; height: 22px; flex: none; margin: 0; accent-color: var(--gold); }
.svc-pick img { width: 34px; height: 51px; flex: none; object-fit: cover; outline: 1px solid rgba(226, 200, 138, 0.35); outline-offset: 2px; }
.svc-pick span { min-width: 0; overflow-wrap: anywhere; }
.svc-pick:has(input:checked) { border-color: var(--gold-2); background: rgba(20, 24, 16, 0.6); }
.svc-pick:has(input:disabled) { opacity: 0.5; cursor: default; }
.svc-pick-note { font-family: var(--sans); font-size: var(--t1); color: var(--ink-2); margin: 6px 0 0; min-height: 1.2em; }
.svc-fine { font-size: var(--t2); color: var(--ink-2); font-style: italic; margin: 14px 0 0; }
/* a date input keeps the field's look on a phone (iOS draws it as a pill otherwise) */
.svc-form input[type="date"] { display: block; min-width: 0; color-scheme: dark; }
.svc-form input[type="date"]::-webkit-date-and-time-value { text-align: left; }

/* ==== the concierge page ================================================================================================= */
body[data-page="concierge"] main.page { max-width: 1120px; }
.svc-two { display: grid; grid-template-columns: minmax(0, 1fr); gap: 26px; align-items: start; }
@media (min-width: 960px) { .svc-two { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 32px; } }
.svc-side { display: grid; gap: 26px; min-width: 0; }
.svc-side .svc-panel h2 { font-size: var(--t5); }
.svc-price { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 10px 0 0; margin: 10px 0 0; border-top: 1px solid var(--rule); font-family: var(--sans); font-size: var(--t2); }
.svc-price b { color: var(--gold-2); font-weight: 500; }
body[data-look="2"] .svc-price { border-image: var(--l2-thread) 1; }
.svc-links { display: flex; flex-wrap: wrap; gap: 0 22px; margin: 6px 0 0; }
.svc-contact-actions { display: flex; flex-wrap: wrap; gap: 10px 14px; margin-top: 12px; }
#viewing { scroll-margin-top: calc(var(--bar) + 12px); }

/* ==== policy pages ======================================================================================================= */
body:is([data-page="delivery"], [data-page="returns"], [data-page="privacy"], [data-page="terms"], [data-page="contact"]) main.page { max-width: calc(66ch + 2 * var(--gutter) + 92px); }
.policy-body { font-size: var(--t3); line-height: 1.6; }
.policy-body > * { max-width: 66ch; }
.policy-body h2 { font-size: var(--t5); line-height: 1.2; margin: 30px 0 10px; padding-top: 24px; border-top: 1px solid var(--rule); }
body[data-look="2"] .policy-body h2 { border-image: var(--l2-thread) 1; }
.policy-body > h2:first-child, .policy-body > .tbc-note + h2 { margin-top: 0; padding-top: 0; border-top: 0; }
.policy-body p { margin: 0 0 14px; }
.policy-body ul { margin: 0 0 16px; padding: 0 0 0 1.2em; }
.policy-body li { margin: 0 0 8px; padding-left: 4px; }
.policy-body li::marker { color: var(--gold-2); content: "\25C6\2002"; font-size: 0.6em; }
.policy-body a { text-decoration-color: var(--gold-2); }
.policy-updated { font-family: var(--sans); font-size: var(--t2); color: var(--ink-2); margin-top: 26px !important; }
.svc-dl { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px 20px; margin: 0 0 18px; }
.svc-dl dt { font-family: var(--sans); font-size: var(--t1); letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-2); margin-top: 12px; }
.svc-dl dd { margin: 0; overflow-wrap: anywhere; }
@media (min-width: 560px) { .svc-dl { grid-template-columns: 11em minmax(0, 1fr); } .svc-dl dt { margin-top: 0; padding-top: 4px; } .svc-dl dd { padding: 2px 0 10px; } }

@media (prefers-reduced-motion: no-preference) {
  body[data-look="2"] .svc-panel.l2-lit::after { animation: l2-thread 2600ms cubic-bezier(0.35, 0.1, 0.25, 1) 250ms 1 both; }
}

/* ==== the feminine pass: italic display, a scalloped gold thread for the straight rules, and warmer spacing. Look 2 only ================= */
:root { --f-scallop: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 8'%3E%3Cpath d='M0 7.4A6 6 0 0 1 12 7.4A6 6 0 0 1 24 7.4' fill='none' stroke='%23d9b873' stroke-opacity='.85' stroke-width='1'/%3E%3C/svg%3E"); }
body[data-look="2"] .policy-body h2 { font-style: italic; font-weight: 400; line-height: 1.18; margin: 36px 0 10px; padding-top: 30px; border: 0; border-image: none; background: var(--f-scallop) 0 0 / 24px 8px repeat-x; }
body[data-look="2"] .policy-body > h2:first-child, body[data-look="2"] .policy-body > .tbc-note + h2 { margin-top: 0; padding-top: 0; background: none; }
body[data-look="2"] .svc-panel h3, body[data-look="2"] .coll-head h2 { font-style: italic; font-weight: 400; }
body[data-look="2"] .svc-lede { padding-bottom: 20px; }
body[data-look="2"] .svc-lede::after { content: ""; position: absolute; left: 0; bottom: 0; width: 96px; height: 8px; background: var(--f-scallop) 0 0 / 24px 8px repeat-x; }
body[data-look="2"] .svc-dl dt { font-family: var(--serif); font-size: var(--t3); font-style: italic; letter-spacing: 0; text-transform: none; }
body[data-look="2"] .svc-price { border-image: none; border-top: 0; padding-top: 18px; background: var(--f-scallop) 0 0 / 24px 8px repeat-x; }
body[data-look="2"] .foot p:first-of-type { font-style: italic; font-size: var(--t3); color: var(--gold-2, #e2c88a); }
body[data-look="2"] .foot nav.foot-help a { font-family: var(--serif); font-style: italic; font-size: var(--t2); }

/* ==== Bright pass (11 Nov: "brighten up the background and reduce shadows") ===================================================
   services.css is the last stylesheet every page shares, so the overrides of ornament.css (not owned by this pass) live here too. */
.svc-panel {
  background: linear-gradient(180deg, rgba(255, 253, 247, 0.95), rgba(250, 244, 230, 0.94));
  border-color: rgba(122, 87, 22, 0.26);
  box-shadow: 0 10px 28px -20px rgba(74, 56, 22, 0.28);
  --on-film: none;
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .svc-panel { background: rgba(255, 251, 242, 0.95); } }
body[data-look="2"] .svc-panel { box-shadow: 0 10px 28px -20px rgba(74, 56, 22, 0.28); }
body[data-look="2"] .svc-panel::after { mix-blend-mode: normal; }
.svc-lede::before { background: rgba(255, 250, 238, 0.5); filter: blur(16px); }
.tbc { color: #7d1748; background: rgba(224, 64, 143, 0.1); border-color: rgba(176, 48, 112, 0.6); }
.coll-mosaic img { background: #efe7d6; outline-color: rgba(122, 87, 22, 0.34); }
.coll-mosaic:hover img { outline-color: rgba(122, 87, 22, 0.7); }
.svc-pick { border-color: rgba(122, 87, 22, 0.22); background: rgba(255, 251, 242, 0.7); }
.svc-pick:hover { border-color: rgba(122, 87, 22, 0.5); }
.svc-pick img { outline-color: rgba(122, 87, 22, 0.32); }
.svc-pick:has(input:checked) { border-color: var(--gold-2); background: #f3ead4; }
.svc-form input[type="date"] { color-scheme: light; }

/* ornament.css: the bag, checkout, account, order and 404 panels outside Look 2, the fields, the test payment */
#bag > .two-col > .lines, #bag > .two-col > .side, #bag > .empty,
#checkout > .empty, #checkout > .two-col > form, #checkout > .two-col > .side,
#account > .signin-box, #account > .stack, #order:not(:empty), #wishlist > .empty, body[data-page="404"] .lost {
  --on-film: none;
}
body:not([data-look="2"]) :is(#bag > .two-col > .lines, #bag > .two-col > .side, #bag > .empty, #checkout > .empty, #checkout > .two-col > form, #checkout > .two-col > .side, #account > .signin-box, #account > .stack, #order:not(:empty), #wishlist > .empty, .lost) {
  background: linear-gradient(180deg, rgba(255, 253, 247, 0.95), rgba(250, 244, 230, 0.94)); border-color: rgba(122, 87, 22, 0.26); box-shadow: 0 10px 28px -20px rgba(74, 56, 22, 0.28);
}
.field input, .field select, .field textarea, .search-row input { border-color: rgba(122, 87, 22, 0.3); border-bottom-color: var(--gold); background-color: rgba(255, 253, 248, 0.94); }
.field input:focus, .field select:focus, .field textarea:focus { background-color: #fff; }
.fake-pay { background: rgba(255, 251, 242, 0.96); }
/* the search field's glass: drawn in the light gold for the dark film; deepen it */
.search-row input { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237a5716' stroke-width='1.6' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-3.5-3.5'/%3E%3C/svg%3E"); }
/* ornaments drawn for the dark film: no dark halos */
.controls::after, .find-in::after, .foot::before, .reviews::after, #saree .more::before { filter: brightness(0.78) saturate(1.2); }
.chip.sw i::before, .swatch i::before, .pd-chips li::before { filter: brightness(0.7) saturate(1.2); }
.chip.sw i, .swatch i { box-shadow: 0 0 0 1px rgba(122, 87, 22, 0.4); }
.chip:hover, .swatch:hover, .chip.on, .chip[aria-pressed="true"] { color: var(--gold-2); }
.pd-chips li { border-color: rgba(122, 87, 22, 0.32); }

/* one rule for the whole site: no text shadows on the light ground (the arch's own words never had one) */
body :is(*, *::before, *::after) { text-shadow: none !important; }
/* the scalloped thread in the deeper gold */
:root { --f-scallop: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 8'%3E%3Cpath d='M0 7.4A6 6 0 0 1 12 7.4A6 6 0 0 1 24 7.4' fill='none' stroke='%23a07a35' stroke-opacity='.85' stroke-width='1'/%3E%3C/svg%3E"); --orn-gold-hi: #7a5716; }

/* ==== Clean saree cards (23 Nov: "remove the borders around the skus or make it better") =====================================
   No gold frame, zari band, jali corners, ticks or inner box: the photo fills the top of the card edge to edge, the card is plain
   ivory paper with rounded corners and one soft shadow, and the words sit below on it. The saree page's gallery loses its frame
   too. (services.css loads last on every page that has these cards.) */
body .card:not(.plate), body .gallery-wrap {
  border: 0 !important; border-image: none !important; border-radius: 6px; overflow: hidden;
  background: #fffaf2 !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important;
  box-shadow: 0 1px 2px rgba(60, 42, 12, 0.06), 0 14px 30px -20px rgba(60, 42, 12, 0.38) !important;
}
body .card:not(.plate) { padding: 0 0 8px !important; }
body .card:not(.plate)::before, body .card:not(.plate)::after, body .gallery-wrap::before, body .gallery-wrap::after { display: none !important; }
body .card:not(.plate) > .ph { aspect-ratio: 2 / 3; background: #efe6d6; overflow: hidden; }
body .card:not(.plate) > .ph .slide > img.photo { object-fit: cover; object-position: 50% 14%; padding: 0; }
body .card:not(.plate) .cap, body .card:not(.plate) > .add, body .card:not(.plate) > .stock-only { padding-left: 14px; padding-right: 14px; }
body .card:not(.plate) .cap { padding-top: 8px; }
body .card:not(.plate) .heart { right: 8px; top: 8px; background: rgba(255, 250, 242, 0.9); border-radius: 50%; }
@media (hover: hover) and (pointer: fine) {
  body .card:not(.plate):hover { transform: translateY(-3px); box-shadow: 0 1px 2px rgba(60, 42, 12, 0.06), 0 20px 36px -20px rgba(60, 42, 12, 0.45) !important; }
}
/* the home scroll's big saree plates: the same plain paper, no zari band, jali corners or double thread */
body[data-look="2"] .plates > .card.plate:not(#l2-x), body .plates > .card.plate {
  border: 0 !important; border-image: none !important; border-radius: 6px;
  background: #fffaf2 !important; --l2-jali: none;
  box-shadow: 0 1px 2px rgba(60, 42, 12, 0.08), 0 24px 48px -26px rgba(20, 14, 4, 0.55) !important;
}
body .plates > .card.plate::before, body .plates > .card.plate::after { display: none !important; }
