/* Studio palette, direction A, Ink & Limestone (founder's choice, 2026-11-11): drawing ink on pale stone, brass for the few things that matter.
   Text: ink/bg 14.4, ink/stone 12.6, muted/bg 6.7, muted/stone 5.8, bg on ink 14.4, brass on ink 7.3. */
:root {
  --bg: #f3f0e8; --surface: #e6e1d6; --card: #ece8df;
  --ink: #16202c; --muted-base: #4a5563; --muted: var(--muted-base); --rule-base: #b9b3a6; --rule: var(--rule-base);
  --brand: #16202c; --brand-hover: #2b3a4c; --on-brand: #f3f0e8;
  --board: #16202c; --on-board: #f3f0e8; --on-board-muted: #c9a96e;
  --accent: #c9a96e; --on-accent: #16202c; --metal-light: #9c7a45;
  --tag: #e6e1d6; --on-tag: #16202c; --plate: #f3f0e8;
  --bar: #9c7a45; --bar-key: #16202c; --bar-quiet: #b9b3a6;
  --nav-current: #16202c; --on-nav-current: #f3f0e8; --plain-card: #16202c; --on-plain-card: #f3f0e8; --footer-mark: #c9a96e;
}

/* Shared by every palette direction: prestige through restraint. Two neutrals alternate
   (ground, stone) with two dark bands (the knot statement, the footer); the metal accent marks
   only the call to action, the recommended package and the rope in the logo. Replaces the
   section-by-section colour rhythm in studio.css. */

/* rhythm: ground, stone, DARK, ground, stone, ground, stone, ground, stone, DARK */
.knot-section { background: var(--board); color: var(--on-board); --ink: var(--on-board); --muted: var(--on-board-muted); --rule: color-mix(in srgb, var(--on-board) 30%, transparent); }
.knot-section .knot-drawing .tube { fill: color-mix(in srgb, var(--on-board) 12%, var(--board)); }
.knot-section .knot-drawing .dim path { stroke: var(--accent); }
.work { background: var(--bg); }
.included { background: var(--surface); }
.inc-grid li { background: var(--bg); border-top: 3px solid var(--ink); }
.ownership { background: var(--bg); --muted: var(--muted-base); --rule: var(--rule-base); }
.packages { background: var(--surface); }
.pk { background: var(--bg); }
.pk-key { background: var(--bg); border-color: var(--ink); box-shadow: 6px 6px 0 var(--accent); --muted: var(--muted-base); }
.process { background: var(--bg); }
.enquire { background: var(--surface); }

/* the project steps darken in one ink, ending on the metal: progress, not a rainbow */
.steps li:nth-child(1)::before { background: color-mix(in srgb, var(--ink) 22%, transparent); }
.steps li:nth-child(2)::before { background: color-mix(in srgb, var(--ink) 42%, transparent); }
.steps li:nth-child(3)::before { background: color-mix(in srgb, var(--ink) 64%, transparent); }
.steps li:nth-child(4)::before { background: var(--ink); }
.steps li:nth-child(5)::before { background: var(--accent); }

/* the invitation card closes the gallery as a dark plate */
.gal-card-invite { background: var(--board); color: var(--on-board); border-color: var(--board); --muted: var(--on-board-muted); }
.gal-card-invite a, .gal-card-invite .case-next-h { color: var(--on-board); }
/* focus on the dark plate: the standard yellow fill (10:1 on ink), not the ink fill used on light */
:root .gal-card-invite a:focus-visible { background: var(--focus); color: #0b0c0c; box-shadow: 0 4px 0 #0b0c0c; }

.chips li { border-color: color-mix(in srgb, var(--ink) 35%, transparent); }
.guides-inner span { border-inline-color: color-mix(in srgb, var(--ink) 6%, transparent); }
.gal-progress { background: color-mix(in srgb, var(--ink) 15%, transparent); }

/* Colour variation (founder chose the varied version, 2026-11-11), by colour theory.
   Ink (212°) and brass (38°) are near-complements. Variation comes from:
   - value ramps inside each hue: ink 900 / 700, slate 500 / 200; brass / dark brass
   - one analogous cool secondary from the material: verdigris, the patina brass takes on
   - temperature alternation of the light surfaces: cool slate tint, warm vellum tint
   Contrast: ink on slate 12.6, on vellum 12.5; muted on both 5.7+; limestone on ink 700 10.8.
   Verdigris and slate 500 fail as text on stone (3.5, 4.2), so they are bars and stripes only. */
:root {
  --slate-tint: #dbe2e8; --vellum: #ebdfc6;
  --ink-700: #26364a; --slate-500: #5a6b7d; --slate-200: #c9d2da;
  --verdigris: #4f7f74; --brass-700: #8a6a3a;
}

/* rhythm: limestone, SLATE, ink, limestone, VELLUM, SLATE, stone, limestone, VELLUM, ink */
.devices { background: var(--slate-tint); }
.included { background: var(--vellum); }
.ownership { background: var(--slate-tint); }
.enquire { background: var(--vellum); }
/* a second dark: the contact panel and the care plan in ink 700, so the darks have depth too */
.contact-aside, .care { background: var(--ink-700); }

/* "what every site includes": each card's top rule walks the ramp, cool to warm */
.inc-grid li:nth-child(1) { border-top: 4px solid var(--slate-500); }
.inc-grid li:nth-child(2) { border-top: 4px solid var(--verdigris); }
.inc-grid li:nth-child(3) { border-top: 4px solid var(--ink-700); }
.inc-grid li:nth-child(4) { border-top: 4px solid var(--ink); }
.inc-grid li:nth-child(5) { border-top: 4px solid var(--brass-700); }
.inc-grid li:nth-child(6) { border-top: 4px solid var(--accent); }

/* project steps: from pale slate through verdigris and ink to brass at handover */
.steps li:nth-child(1)::before { background: var(--slate-200); }
.steps li:nth-child(2)::before { background: var(--slate-500); }
.steps li:nth-child(3)::before { background: var(--verdigris); }
.steps li:nth-child(4)::before { background: var(--ink-700); }
.steps li:nth-child(5)::before { background: var(--accent); }

/* the recommended package carries a verdigris tab so it reads at a glance */
.pk-key { border-top: 6px solid var(--verdigris); }
.gal-card-invite { background: var(--ink-700); border-color: var(--ink-700); }
