/* KRS Payals: the "Folio" look (id imp-redo). Silver on teal velvet, like a jeweller's display tray.
   Light = sea-glass paper with deep teal ink. Dark = bottle-teal velvet with mint-silver text.
   The rest is Classic's craft, sharpened:
   - one clear type scale (bigger headline and section heads, 16px body, italic Fraunces
     as the small "caption" voice for labels and notes);
   - teal instead of brass, so nothing on the page is gold;
   - a clear order of actions: WhatsApp, then Call, then a plain link to the catalogue;
   - designs shown as framed plates with captions, not boxed cards;
   - the range and "How we work" share one index layout, so their columns line up.
   Everything here only applies when <html data-look="imp-redo">. No motion is added. */

/* Font: loaded by motion.js only while this look is picked (see LOOKS there). */

/* ---------- Colours ---------- */

:root[data-look="imp-redo"] {
  --paper: #DDEBE6;          /* sea-glass */
  --card: #EAF4F0;           /* raised surfaces: the sheets */
  --oxide: #0E3634;          /* deep teal ink; also the buttons */
  --oxide-soft: #3A5E5A;
  --kumkum: #7A1F2B;
  --brass: #1D6159;          /* teal accent: labels and small marks */
  --silver-pale: #EAF4F0;    /* text on the teal buttons */
  --silver-mid: #9CC7BF;
  --rule: 1px solid rgba(14, 54, 52, .16);

  --ir-line: rgba(14, 54, 52, .16);
  --ir-line-strong: rgba(14, 54, 52, .34);
  --ir-plate: rgba(29, 97, 89, .24);   /* teal tray edge round each picture */
  --ir-chain: #79A39B;       /* silver seen against teal */
  --ir-hook: #3A5E5A;
  --ir-wash: rgba(14, 54, 52, .05);
  --ir-ink-hover: #17504B;
  --ir-select: #A9D3CA;
  --ir-sheen: rgba(255, 255, 255, .34);
  --ir-backdrop: rgb(4 30 28 / .45);
  --ir-kumkum-line: rgba(122, 31, 43, .26);
  --ir-badge-bg: rgba(244, 249, 247, .93);
  --ir-img: none;
  --ir-label: 6.75rem;       /* the label column shared by the range, terms and design facts */

  scrollbar-color: var(--ir-chain) transparent;
  accent-color: var(--oxide);
}
:root[data-look="imp-redo"][data-theme="dark"] {
  --paper: #0A2422;          /* bottle-teal velvet */
  --card: #113430;
  --oxide: #DCEBE6;          /* mint-silver text; also the pale buttons */
  --oxide-soft: #9BBDB6;
  --kumkum: #F2A7B1;
  --brass: #7FD0C2;          /* light teal accent */
  --silver-pale: #0A2422;
  --silver-mid: #3B635D;
  --rule: 1px solid rgba(220, 235, 230, .14);

  --ir-line: rgba(220, 235, 230, .14);
  --ir-line-strong: rgba(220, 235, 230, .32);
  --ir-plate: rgba(127, 208, 194, .26);
  --ir-chain: #4A7D75;
  --ir-hook: #9BBDB6;
  --ir-wash: rgba(220, 235, 230, .06);
  --ir-ink-hover: #EEF6F3;
  --ir-select: #23554F;
  --ir-sheen: rgba(127, 208, 194, .09);
  --ir-backdrop: rgb(1 12 11 / .6);
  --ir-kumkum-line: rgba(242, 167, 177, .28);
  --ir-badge-bg: rgba(236, 244, 241, .93);
  --ir-img: brightness(.9);  /* the pale drawings sit softer on the velvet */
}

/* The velvet catches a soft light where the chain hangs; the top edge stays plain paper */
:root[data-look="imp-redo"] body {
  background: radial-gradient(480px 340px at 50% 210px, var(--ir-sheen), transparent 70%) no-repeat, var(--paper);
  -webkit-tap-highlight-color: var(--ir-wash);
}
:root[data-look="imp-redo"] ::selection { background: var(--ir-select); color: var(--oxide); }

/* ---------- Brand line ---------- */

:root[data-look="imp-redo"] .wrap { padding-top: 1.75rem; }
:root[data-look="imp-redo"] .mark {
  font-size: 1.32rem;
  font-weight: 600;
  letter-spacing: -.015em;
  line-height: 1.15;
  margin-bottom: 1rem;
  padding-top: .2rem;
}
:root[data-look="imp-redo"] .mark small {
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic;
  font-size: .84rem;
  letter-spacing: 0;
  color: var(--oxide-soft);
  margin-top: .25rem;
}
:root[data-look="imp-redo"] .theme-btn,
:root[data-look="imp-redo"] .settings-btn { border-color: var(--ir-line-strong); color: var(--oxide); }

/* ---------- Opening: the chain, the promise, the actions ---------- */

:root[data-look="imp-redo"] .stage { max-width: 312px; margin-bottom: 0; }
/* The hook takes the ink colour; the chain itself stays silver */
:root[data-look="imp-redo"] .stage svg > path { stroke: var(--ir-hook); }
:root[data-look="imp-redo"] .stage svg > circle { fill: var(--ir-hook); }
:root[data-look="imp-redo"] .sound {
  top: 0;
  right: -.4rem;
  padding: .38rem .8rem;
  font-size: .74rem;
  letter-spacing: .01em;
  border-color: var(--ir-line-strong);
  color: var(--oxide-soft);
}
:root[data-look="imp-redo"] .sound[aria-pressed="true"] { background: var(--oxide); color: var(--silver-pale); border-color: var(--oxide); }

/* The empty foot of the drawing is the caption's place, like a figure in a book */
:root[data-look="imp-redo"] .hint {
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic;
  font-size: .9rem;
  color: var(--oxide-soft);
  margin: -1.1rem 0 1.85rem;
}
:root[data-look="imp-redo"] .hero h1 {
  font-size: clamp(2.2rem, 9.4vw, 3.3rem);
  line-height: 1.04;
  letter-spacing: -.028em;
  margin-bottom: 1rem;
  text-wrap: balance;
}
:root[data-look="imp-redo"] .hero .sub {
  font-size: 1.06rem;
  line-height: 1.55;
  max-width: 31ch;
  text-wrap: pretty;
}

:root[data-look="imp-redo"] .actions { max-width: 330px; margin-top: 1.85rem; gap: .7rem; }
:root[data-look="imp-redo"] .btn {
  min-height: 52px;
  border-radius: 999px;
  padding: .85rem 1.4rem;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: .005em;
}
:root[data-look="imp-redo"] .btn.ghost { background: none; color: var(--oxide); border: 1px solid var(--ir-line-strong); }

/* Third action is a way down the page, so it reads as a link, not a third button */
:root[data-look="imp-redo"] .actions .btn.ghost[href="#catalogue"] {
  min-height: 44px;
  margin-top: .1rem;
  padding: .5rem 1rem;
  border-color: transparent;
  gap: .55rem;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .32em;
  text-decoration-color: var(--ir-line-strong);
}
:root[data-look="imp-redo"] .actions .btn.ghost[href="#catalogue"]::after {
  content: "";
  width: .42em;
  height: .42em;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-.14em) rotate(45deg);
}

/* ---------- Sections ---------- */

:root[data-look="imp-redo"] .band { margin-top: 3.5rem; }
:root[data-look="imp-redo"] #catalogue { margin-top: 2.75rem; }  /* the link above already carries its own air */
:root[data-look="imp-redo"] .chain-defs { color: var(--ir-chain) !important; }
:root[data-look="imp-redo"] .chain-defs ellipse,
:root[data-look="imp-redo"] .chain-defs line { stroke-width: 1.15; }
:root[data-look="imp-redo"] .chain-rule { margin-bottom: 1.9rem; }

:root[data-look="imp-redo"] .band h2 {
  font-size: 1.72rem;
  line-height: 1.12;
  letter-spacing: -.02em;
  margin-bottom: .65rem;
  text-wrap: balance;
}
:root[data-look="imp-redo"] .cat-note,
:root[data-look="imp-redo"] .band p[style] {
  font-size: .96rem !important;  /* the range note sets its own size inline */
  line-height: 1.55;
  color: var(--oxide-soft);
  max-width: 42ch;
  text-wrap: pretty;
}
:root[data-look="imp-redo"] .cat-note { margin-bottom: 1.25rem; }

/* ---------- Catalogue ---------- */

:root[data-look="imp-redo"] .cat-sample-note {
  font-size: .86rem;
  line-height: 1.5;
  color: var(--kumkum);
  background: var(--card);
  border: 1px solid var(--ir-kumkum-line);
  border-radius: 8px;
  padding: .6rem .85rem;
  margin-bottom: 1.25rem;
}

:root[data-look="imp-redo"] .cat-chips { gap: .5rem; margin-bottom: 1.4rem; }
:root[data-look="imp-redo"] .cat-chip {
  min-height: 40px;
  padding: .4rem 1rem;
  border: 1px solid var(--ir-line-strong);
  font-size: .92rem;
}
:root[data-look="imp-redo"] .cat-chip span {
  font-size: .76rem;
  margin-left: .4rem;
  color: var(--oxide-soft);
  font-variant-numeric: tabular-nums;
}
:root[data-look="imp-redo"] .cat-chip[aria-pressed="true"] { background: var(--oxide); color: var(--silver-pale); border-color: var(--oxide); }
:root[data-look="imp-redo"] .cat-chip[aria-pressed="true"] span { color: var(--silver-mid); }

/* Designs as framed plates with a caption underneath */
:root[data-look="imp-redo"] .cat-grid { gap: 1.6rem .9rem; }
:root[data-look="imp-redo"] .cat-card:not(.add-card) { border: 0; border-radius: 4px; background: none; }
:root[data-look="imp-redo"] .cat-card img,
:root[data-look="imp-redo"] .cat-card .cat-noimg {
  border-radius: 4px;
  outline: 1px solid var(--ir-plate);
  outline-offset: -1px;
  filter: var(--ir-img);
}
:root[data-look="imp-redo"] .cat-card .body { padding: .7rem .1rem .2rem; }
:root[data-look="imp-redo"] .cat-card .name { font-size: 1.06rem; line-height: 1.2; letter-spacing: -.005em; }
:root[data-look="imp-redo"] .cat-card .meta {
  font-size: .8rem;
  margin-top: .25rem;
  letter-spacing: .01em;
  font-variant-numeric: tabular-nums;
}
:root[data-look="imp-redo"] .cat-badge {
  z-index: 1;       /* stays above the picture, which the dark-mode filter puts on its own layer */
  top: .5rem;
  left: .5rem;
  padding: .2rem .45rem;
  border: 0;
  border-radius: 3px;
  background: var(--ir-badge-bg);
  color: #7A1F2B;   /* the badge always sits on a pale picture, in both modes */
  font-size: .62rem;
  letter-spacing: .1em;
}
:root[data-look="imp-redo"] .cat-empty { font-size: 1rem; }

/* ---------- The range and "How we work": one index layout ---------- */

:root[data-look="imp-redo"] .range { gap: 0; margin-top: 1.1rem; }
:root[data-look="imp-redo"] .group {
  display: grid;
  grid-template-columns: var(--ir-label) 1fr;
  column-gap: 1rem;
  padding: .85rem 0 .6rem;
  border-bottom: var(--rule);
}
:root[data-look="imp-redo"] .group:last-child { border-bottom: 0; }
:root[data-look="imp-redo"] .group h3,
:root[data-look="imp-redo"] .terms b,
:root[data-look="imp-redo"] .cat-sheet .facts b {
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--brass);
}
:root[data-look="imp-redo"] .group h3 { margin: 0; }
:root[data-look="imp-redo"] .group li { padding: 0 0 .3rem; border: 0; font-size: 1rem; line-height: 1.5; }
:root[data-look="imp-redo"] .group li span { font-size: .84rem; color: var(--oxide-soft); margin-top: 0; }

:root[data-look="imp-redo"] .terms li { gap: 1rem; padding: .85rem 0; font-size: 1rem; line-height: 1.5; }
:root[data-look="imp-redo"] .terms b { width: var(--ir-label); }
:root[data-look="imp-redo"] .cat-sheet .facts b { width: 8rem; }  /* fits "Minimum order" on one line */

/* ---------- About and Find us ---------- */

:root[data-look="imp-redo"] .about p { font-size: 1rem; line-height: 1.65; max-width: 60ch; text-wrap: pretty; }
:root[data-look="imp-redo"] .about p:first-of-type {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.2rem;
  line-height: 1.45;
  letter-spacing: -.005em;
  margin-bottom: 1.1rem;
}
:root[data-look="imp-redo"] .addr { font-size: 1rem; line-height: 1.7; }
:root[data-look="imp-redo"] .addr b { font-weight: 500; }
:root[data-look="imp-redo"] .gst { font-size: .8rem; letter-spacing: .02em; font-variant-numeric: tabular-nums; margin-top: .9rem; }

/* A short silver hairline ends the page instead of a full-width border */
:root[data-look="imp-redo"] footer {
  border-top: 0;
  margin-top: 3.5rem;
  padding: 0 1.5rem 2.75rem;
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic;
  font-size: .92rem;
  color: var(--oxide-soft);
  text-wrap: balance;
}
:root[data-look="imp-redo"] footer::before {
  content: "";
  display: block;
  width: 2.5rem;
  height: 1px;
  margin: 0 auto 1.25rem;
  background: var(--ir-chain);
}

/* ---------- Design sheet and Settings sheet ---------- */

:root[data-look="imp-redo"] dialog.cat-sheet,
:root[data-look="imp-redo"] dialog.settings-sheet,
:root[data-look="imp-redo"] dialog.admin-sheet { border-radius: 18px 18px 0 0; background: var(--card); }
/* Teal-tinted dimming behind the sheets (written out: ::backdrop may not see the page's variables) */
:root[data-look="imp-redo"] dialog.cat-sheet[open]::backdrop,
:root[data-look="imp-redo"] dialog.settings-sheet::backdrop,
:root[data-look="imp-redo"] dialog.admin-sheet::backdrop { background-color: rgb(4 30 28 / .45); }
:root[data-look="imp-redo"][data-theme="dark"] dialog.cat-sheet[open]::backdrop,
:root[data-look="imp-redo"][data-theme="dark"] dialog.settings-sheet::backdrop,
:root[data-look="imp-redo"][data-theme="dark"] dialog.admin-sheet::backdrop { background-color: rgb(1 12 11 / .6); }
/* "‹ 2 of 9 ›" sits on the pale picture in both modes */
:root[data-look="imp-redo"] .cat-sheet .nav { background: rgba(236, 244, 241, .94); color: #0E3634; box-shadow: 0 4px 14px -6px rgba(4, 30, 28, .4); }
:root[data-look="imp-redo"] .cat-sheet .nav button { background: #F6FAF8; color: #0E3634; border-color: rgba(14, 54, 52, .22); }
:root[data-look="imp-redo"] .cat-sheet img {
  border: 0;
  border-radius: 4px;
  outline: 1px solid var(--ir-plate);
  outline-offset: -1px;
  filter: var(--ir-img);
}
:root[data-look="imp-redo"] .cat-sheet h2 { font-size: 1.72rem; line-height: 1.12; letter-spacing: -.02em; margin-bottom: .3rem; }
:root[data-look="imp-redo"] .cat-sheet .code { font-size: .84rem; font-variant-numeric: tabular-nums; }
:root[data-look="imp-redo"] .cat-sheet .facts li { font-size: 1rem; line-height: 1.5; padding: .7rem 0; }
:root[data-look="imp-redo"] .cat-sheet .sizes-label { font-size: .86rem; }
:root[data-look="imp-redo"] .size-chip { min-height: 42px; border-radius: 999px; border-color: var(--ir-line-strong); }
:root[data-look="imp-redo"] .size-chip[aria-pressed="true"] { background: var(--oxide); color: var(--silver-pale); border-color: var(--oxide); }
:root[data-look="imp-redo"] .cat-sheet .grab,
:root[data-look="imp-redo"] .settings-sheet .grab { background: var(--ir-line-strong); }
:root[data-look="imp-redo"] .look-choices button,
:root[data-look="imp-redo"] .mode-choices button { border-color: var(--ir-line-strong); }

/* Staff edit mode: borders in the same teal lines */
:root[data-look="imp-redo"] .cat-card.add-card,
:root[data-look="imp-redo"] .admin-form input:not([type="checkbox"]):not([type="file"]),
:root[data-look="imp-redo"] .admin-form select,
:root[data-look="imp-redo"] .admin-form textarea { border-color: var(--ir-line-strong); }

/* ---------- Hover, for mouse and trackpad only (colour changes, no movement) ---------- */

@media (hover: hover) and (pointer: fine) {
  :root[data-look="imp-redo"] .btn:not(.ghost):not(.danger):hover { background: var(--ir-ink-hover); }
  :root[data-look="imp-redo"] .btn.ghost:hover { background: var(--ir-wash); }
  :root[data-look="imp-redo"] .actions .btn.ghost[href="#catalogue"]:hover { background: none; text-decoration-color: currentColor; }
  :root[data-look="imp-redo"] .cat-chip:not([aria-pressed="true"]):hover,
  :root[data-look="imp-redo"] .size-chip:not([aria-pressed="true"]):hover { border-color: var(--oxide-soft); }
  :root[data-look="imp-redo"] .cat-card:hover { box-shadow: none; }
  :root[data-look="imp-redo"] .cat-card:hover img { outline-color: var(--ir-line-strong); }
}
