/* ==========================================================================
   ARADHNAA — page.css
   Components used by the inner pages: page hero, breadcrumb, product grid,
   filter chips, prose, steps, FAQ, contact composer, 404.
   ========================================================================== */

/* ==========================================================================
   PAGE HERO — the dark band every inner page opens with
   ========================================================================== */
.page-hero{
  position:relative; overflow:hidden;
  background:var(--void); color:var(--text);
  padding-block:var(--space-4) var(--space-5);
}
.page-hero__backdrop{
  position:absolute; inset:0; z-index:0; pointer-events:none;
  background:
    radial-gradient(ellipse 70% 80% at 22% 0%, var(--glow-soft), transparent 68%),
    radial-gradient(ellipse 120% 90% at 50% 100%, var(--deep) 0%, var(--void) 100%);
}
.page-hero__inner{ position:relative; z-index:2; }

/* From tablet up the heading and its supporting text sit side by side, so
   the band stays a header rather than becoming a screenful. */
@media (min-width:860px){
  .page-hero__cols{
    display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr);
    align-items:center; gap:var(--space-7);
  }
  .page-hero__sub{ margin-top:0; }
  .page-hero__meta{ margin-top:var(--space-3); }
}

.page-hero__eyebrow{
  font-family:var(--font-deva); font-size:13.5px;
  color:var(--marigold); margin-bottom:6px;
}
.page-hero__title{
  font-family:var(--font-display); font-weight:600;
  font-size:clamp(24px, 3.2vw, 36px); line-height:1.15;
  color:var(--text); max-width:20ch; text-wrap:balance;
}
.page-hero__title em{ font-style:normal; color:var(--ember); }
.page-hero__sub{
  font-family:var(--font-accent); font-style:italic;
  font-size:clamp(15px, 1.3vw, 17px); color:var(--text-muted);
  max-width:52ch; margin-top:var(--space-2); text-wrap:pretty;
}
.page-hero__meta{
  display:flex; flex-wrap:wrap; align-items:center; gap:var(--space-4);
  margin-top:var(--space-4);
  font-size:12px; font-weight:600; letter-spacing:.08em; text-transform:uppercase;
  color:var(--brass); font-variant-numeric:tabular-nums;
}
.page-hero__meta span{ display:inline-flex; align-items:center; gap:8px; }
.page-hero__meta svg{ width:15px; height:15px; stroke:currentColor; fill:none; }

/* ---------- Breadcrumb ---------- */
.breadcrumb{ margin-bottom:var(--space-3); }
.breadcrumb ol{ display:flex; flex-wrap:wrap; align-items:center; gap:8px; }
/* --text-muted is the dark-palette token. Inside .page-hero (which is
   .on-dark) that is right, but the kit pages put the breadcrumb straight on
   Paper, where light-on-light made it invisible. Default to the ink tones
   and let the dark sections opt back in. */
.breadcrumb li{
  display:inline-flex; align-items:center; gap:8px;
  font-size:12.5px; color:var(--ink-muted);
}
.breadcrumb li + li::before{
  content:"/"; color:var(--brass-deep); opacity:.75;
}
.breadcrumb a{
  display:inline-flex; align-items:center; min-height:32px;
  color:var(--ink-muted);
  transition:color var(--dur-fast) var(--ease-out);
}
.breadcrumb a:hover{ color:var(--sindoor); }

.on-dark .breadcrumb li,
.on-dark .breadcrumb a{ color:var(--text-muted); }
.on-dark .breadcrumb li + li::before{ color:var(--brass); }
.on-dark .breadcrumb a:hover{ color:var(--ember); }
/* The current page is the one item that should read strongest, so it takes
   full ink rather than the muted tone the links use. */
.breadcrumb [aria-current="page"]{ color:var(--ink); font-weight:600; }
.on-dark .breadcrumb [aria-current="page"]{ color:var(--text); }

/* ==========================================================================
   PRODUCT GRID — same card as the homepage shelves, laid out as a grid
   ========================================================================== */
.p-grid{
  display:grid; gap:var(--space-4);
  grid-template-columns:repeat(auto-fill, minmax(155px, 1fr));
  margin-top:var(--space-4);
}
@media (min-width:700px){
  .p-grid{ gap:var(--space-5); grid-template-columns:repeat(auto-fill, minmax(190px, 1fr)); }
}
/* Cards are fixed-width inside a scrolling shelf; in a grid they fill the cell. */
.p-grid .p-card{ width:auto; }

.grid-section{ padding-block:var(--space-5) var(--space-6); }

/* ---------- Filter chips ---------- */
.filters{
  display:flex; flex-wrap:wrap; gap:var(--space-2);
  margin-top:var(--space-5);
}
.chip{
  display:inline-flex; align-items:center; gap:8px;
  min-height:44px; padding:10px 18px;
  border-radius:var(--radius-pill);
  border:1px solid var(--paper-line-strong);
  background:var(--paper-surface); color:var(--ink-muted);
  font-size:13px; font-weight:600; letter-spacing:.02em;
  transition:color var(--dur-fast) var(--ease-out),
             border-color var(--dur-fast) var(--ease-out),
             background-color var(--dur-fast) var(--ease-out);
}
.chip__count{ font-size:11.5px; color:var(--brass-deep); font-variant-numeric:tabular-nums; }
.chip:hover{ border-color:var(--marigold); color:var(--ink); }
.chip[aria-pressed="true"]{
  background:var(--deep); border-color:var(--deep); color:var(--sandalwood);
}
.chip[aria-pressed="true"] .chip__count{ color:var(--brass); }

.filter-status{
  margin-top:var(--space-4);
  font-size:13.5px; color:var(--ink-muted);
  font-variant-numeric:tabular-nums;
}

/* ---------- Empty state ---------- */
.empty{
  display:none; text-align:center;
  padding:var(--space-8) var(--space-5);
  border:1px dashed var(--paper-line-strong);
  border-radius:var(--radius-lg);
  margin-top:var(--space-6);
}
.empty.is-shown{ display:block; }
.empty svg{ width:44px; height:44px; margin:0 auto var(--space-4); stroke:var(--brass-deep); fill:none; }
.empty h3{ font-family:var(--font-display); font-size:20px; color:var(--ink); margin-bottom:var(--space-2); }
.empty p{ font-family:var(--font-accent); font-style:italic; font-size:16px; color:var(--ink-muted); max-width:44ch; margin-inline:auto; }
.empty .btn{ margin-top:var(--space-5); }

/* ==========================================================================
   PROSE — About, Delivery, Privacy
   ========================================================================== */
.prose{ max-width:68ch; padding-block:var(--space-5) var(--space-6); }
/* When .prose is also the .container it inherits margin-inline:auto and
   centres its own 68ch box, which no longer lines up with the page hero
   or the FAQ beside it. Keep the container width; cap the children. */
.container.prose{ max-width:var(--container); }
.container.prose > *{ max-width:68ch; }
.prose > * + *{ margin-top:var(--space-4); }
.prose h2{
  font-family:var(--font-display); font-weight:600;
  font-size:clamp(21px, 2.6vw, 28px); color:var(--ink);
  margin-top:var(--space-7); line-height:1.2;
}
.prose h2:first-child{ margin-top:0; }
.prose h3{
  font-family:var(--font-display); font-weight:600;
  font-size:18px; color:var(--ink); margin-top:var(--space-6);
}
.prose p{ font-size:17px; line-height:1.7; color:var(--ink-muted); }
.prose strong{ color:var(--ink); font-weight:700; }
.prose a{ color:var(--sindoor); text-decoration:underline; text-underline-offset:3px; }
.prose a:hover{ color:var(--marigold); }
.prose ul{ padding-left:1.1em; }
.prose li{
  font-size:17px; line-height:1.7; color:var(--ink-muted);
  list-style:disc; margin-top:var(--space-2);
}
.prose li::marker{ color:var(--brass-deep); }
.prose__lead{
  font-family:var(--font-accent); font-style:italic;
  font-size:clamp(18px, 2vw, 22px); line-height:1.5; color:var(--ink);
}
.prose__note{
  padding:var(--space-5); border-radius:var(--radius-md);
  background:rgba(201,161,90,.12); border:1px solid var(--paper-line-strong);
  font-size:15.5px; line-height:1.6; color:var(--ink-muted);
}
.prose__updated{ font-size:13px; color:var(--ink-subtle); }

/* ==========================================================================
   STEPS — how custom kits work
   ========================================================================== */
.steps{
  display:grid; gap:var(--space-4);
  grid-template-columns:1fr; margin-top:var(--space-4);
  counter-reset:step;
}
@media (min-width:760px){ .steps{ grid-template-columns:repeat(3,1fr); } }
.step{
  position:relative; padding:var(--space-6) var(--space-5);
  background:var(--paper-surface);
  border:1px solid var(--paper-line);
  border-radius:var(--radius-lg);
}
.step__num{
  display:grid; place-items:center;
  width:44px; height:44px; border-radius:50%;
  background:var(--grad-cta); color:var(--sandalwood);
  font-family:var(--font-display); font-weight:700; font-size:17px;
  margin-bottom:var(--space-4);
}
.step h3{ font-family:var(--font-display); font-size:19px; color:var(--ink); margin-bottom:var(--space-2); }
.step p{ font-family:var(--font-accent); font-style:italic; font-size:16px; line-height:1.5; color:var(--ink-muted); }

/* ==========================================================================
   FAQ — native details/summary, no JavaScript
   ========================================================================== */
.faq{ margin-top:var(--space-4); max-width:70ch; }
.faq details{
  border-bottom:1px solid var(--paper-line);
}
.faq summary{
  display:flex; align-items:center; justify-content:space-between; gap:var(--space-4);
  min-height:56px; padding:var(--space-4) 2px;
  cursor:pointer; list-style:none;
  font-family:var(--font-display); font-size:17px; color:var(--ink);
  transition:color var(--dur-fast) var(--ease-out);
}
.faq summary::-webkit-details-marker{ display:none; }
.faq summary:hover{ color:var(--marigold); }
.faq summary::after{
  content:""; flex:none; width:11px; height:11px;
  border-right:2px solid var(--brass-deep); border-bottom:2px solid var(--brass-deep);
  transform:rotate(45deg) translate(-2px,-2px);
  transition:transform var(--dur-base) var(--ease-out);
}
.faq details[open] summary::after{ transform:rotate(225deg) translate(-2px,-2px); }
.faq details p{
  font-size:16px; line-height:1.7; color:var(--ink-muted);
  padding:0 2px var(--space-5);
  max-width:64ch;
}

/* ==========================================================================
   CONTACT — the form composes a WhatsApp message rather than pretending
   to submit to a server that does not exist.
   ========================================================================== */
.contact-grid{
  display:grid; gap:var(--space-6);
  grid-template-columns:1fr; padding-block:var(--space-5) var(--space-6);
}
@media (min-width:900px){ .contact-grid{ grid-template-columns:1fr 1fr; gap:var(--space-8); } }

.contact-card{
  padding:var(--space-6);
  background:var(--paper-surface);
  border:1px solid var(--paper-line);
  border-radius:var(--radius-lg);
}
.contact-list{ display:flex; flex-direction:column; gap:var(--space-5); margin-top:var(--space-5); }
.contact-item{ display:flex; gap:var(--space-4); align-items:flex-start; }
.contact-item__icon{
  flex:none; display:grid; place-items:center;
  width:44px; height:44px; border-radius:50%;
  border:1px solid var(--paper-line-strong);
  background:rgba(240,169,62,.14);
}
.contact-item__icon svg{ width:20px; height:20px; stroke:var(--brass-deep); fill:none; }
.contact-item dt{
  font-size:11.5px; font-weight:700; letter-spacing:.09em;
  text-transform:uppercase; color:var(--brass-deep); margin-bottom:3px;
}
.contact-item dd{ font-size:16px; color:var(--ink); line-height:1.5; }
.contact-item dd a{ color:var(--sindoor); }
.contact-item dd a:hover{ color:var(--marigold); }

/* Form on Paper — the drawer form is on dark, so these need their own colours */
.form-field{ margin-bottom:var(--space-5); }
.form-field label{
  display:block; font-size:12px; font-weight:700;
  letter-spacing:.08em; text-transform:uppercase;
  color:var(--brass-deep); margin-bottom:var(--space-2);
}
.form-field .req{ color:var(--sindoor); }
.form-field input,
.form-field textarea,
.form-field select{
  width:100%; min-height:48px; padding:12px 14px;
  background:var(--paper);
  border:1px solid var(--paper-line-strong);
  border-radius:var(--radius-sm);
  color:var(--ink); font-family:var(--font-body);
  font-size:16px;                       /* 16px stops iOS auto-zoom */
  transition:border-color var(--dur-fast) var(--ease-out),
             box-shadow var(--dur-fast) var(--ease-out);
}
.form-field textarea{ min-height:132px; resize:vertical; line-height:1.6; }
.form-field input::placeholder,
.form-field textarea::placeholder{ color:rgba(36,18,9,.4); }
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus{
  outline:none; border-color:var(--marigold);
  box-shadow:0 0 0 3px rgba(226,102,28,.16);
}
.form-field__hint{ font-size:13px; color:var(--ink-subtle); margin-top:var(--space-2); }
.form-field__error{
  display:none; font-size:13.5px; font-weight:600; color:var(--sindoor);
  margin-top:var(--space-2);
}
.form-field.has-error input,
.form-field.has-error textarea{ border-color:var(--sindoor); }
.form-field.has-error .form-field__error{ display:block; }

.error-summary{
  display:none; padding:var(--space-4) var(--space-5);
  border:1px solid var(--sindoor); border-left-width:4px;
  border-radius:var(--radius-sm);
  background:rgba(163,44,30,.07);
  margin-bottom:var(--space-5);
}
.error-summary.is-shown{ display:block; }
.error-summary h2{ font-size:15px; font-weight:700; color:var(--sindoor); margin-bottom:var(--space-2); }
.error-summary ul{ padding-left:1.1em; }
.error-summary li{ list-style:disc; font-size:14px; margin-top:4px; }
.error-summary a{ color:var(--sindoor); text-decoration:underline; }

/* ==========================================================================
   CTA BAND — dark band that closes most inner pages
   ========================================================================== */
.cta-band{
  position:relative; overflow:hidden;
  background:var(--void); color:var(--text);
  padding-block:var(--space-6);
  text-align:center;
}
.cta-band__backdrop{
  position:absolute; inset:0; z-index:0; pointer-events:none;
  background:radial-gradient(ellipse 60% 90% at 50% 0%, var(--glow-soft), transparent 70%);
}
.cta-band__inner{ position:relative; z-index:2; }
.cta-band h2{
  font-family:var(--font-display); font-weight:600;
  font-size:clamp(24px, 3.4vw, 38px); color:var(--text);
  max-width:20ch; margin-inline:auto; text-wrap:balance;
}
.cta-band h2 em{ font-style:normal; color:var(--ember); }
.cta-band p{
  font-family:var(--font-accent); font-style:italic;
  font-size:18px; color:var(--text-muted);
  max-width:50ch; margin:var(--space-3) auto 0; text-wrap:pretty;
}
.cta-band__actions{
  display:flex; flex-wrap:wrap; gap:var(--space-3);
  justify-content:center; margin-top:var(--space-6);
}

/* ==========================================================================
   404
   ========================================================================== */
.notfound{
  display:grid; place-items:center; text-align:center;
  padding-block:var(--space-7) var(--space-8);
}
.notfound__code{
  font-family:var(--font-display); font-weight:700;
  font-size:clamp(64px, 14vw, 140px); line-height:1;
  color:var(--brass); opacity:.35; letter-spacing:.06em;
}
.notfound h1{
  font-family:var(--font-display); font-weight:600;
  font-size:clamp(26px, 4vw, 40px); color:var(--ink);
  margin-top:var(--space-4); max-width:20ch; text-wrap:balance;
}
.notfound p{
  font-family:var(--font-accent); font-style:italic;
  font-size:18px; color:var(--ink-muted);
  max-width:46ch; margin-top:var(--space-3);
}
.notfound__actions{
  display:flex; flex-wrap:wrap; gap:var(--space-3);
  justify-content:center; margin-top:var(--space-6);
}
.notfound__links{
  display:flex; flex-wrap:wrap; gap:var(--space-2);
  justify-content:center; margin-top:var(--space-7);
}

/* On phones the hero's trust row wrapped to two lines and pushed the
   products further down. Keep the item count (it is page-specific) and
   drop the two standing claims - both still appear on the homepage hero,
   the closing CTA band and the footer. */
@media (max-width:599px){
  .page-hero{ padding-block:var(--space-3) var(--space-4); }
  .page-hero__meta{ margin-top:var(--space-3); gap:var(--space-3); }
  .page-hero__meta span + span{ display:none; }
  .page-hero__sub{ font-size:14.5px; }
  .breadcrumb{ margin-bottom:var(--space-2); }
}

/* ==========================================================================
   PAGE HERO PHOTOGRAPH
   The same treatment as the homepage carousel: a scrim to keep the text
   legible, a warm wash to seat it in the palette, and a masked bottom edge
   so the hero dissolves into the products below rather than ending on a
   line. Only the shopping heroes carry it - see page_hero(photo=True).
   ========================================================================== */
.page-hero__photo{
  position:absolute; inset:0; z-index:1;
  overflow:hidden; pointer-events:none;
}
.page-hero__photo img{
  width:100%; height:100%;
  object-fit:cover; object-position:62% 50%;
  filter:saturate(.92) contrast(1.04) brightness(.72);
  -webkit-mask-image:linear-gradient(180deg, #000 58%, rgba(0,0,0,.5) 82%, transparent 100%);
  mask-image:linear-gradient(180deg, #000 58%, rgba(0,0,0,.5) 82%, transparent 100%);
}
.page-hero__photo::after{
  content:""; position:absolute; inset:0;
  background:
    radial-gradient(ellipse 56% 60% at 74% 50%, rgba(240,169,62,.18), transparent 64%),
    linear-gradient(180deg, rgba(21,11,7,.92) 0%, rgba(21,11,7,.85) 45%, rgba(21,11,7,.94) 100%);
}
/* 860px, matching where .page-hero__cols becomes two columns and the copy
   moves left. A scrim keyed to a different breakpoint would darken the half
   the text is not on. */
@media (min-width:860px){
  .page-hero__photo::after{
    background:
      radial-gradient(ellipse 44% 60% at 78% 50%, rgba(240,169,62,.20), transparent 62%),
      linear-gradient(90deg, rgba(21,11,7,.95) 0%, rgba(21,11,7,.90) 42%, rgba(21,11,7,.62) 76%, rgba(21,11,7,.70) 100%),
      linear-gradient(180deg, rgba(21,11,7,.40), rgba(21,11,7,.58));
  }
}
/* The hero's own content has to sit above the photograph. */
.page-hero.has-photo .page-hero__inner{ position:relative; z-index:2; }
