/* ==========================================================================
   MIRA COLORING HUB — /okrashivanie-volos-kirov/ (merged with the former
   /slozhnoe-okrashivanie-kirov/). Chrome (island nav, menu, footer, sticky bar,
   before/after, tabs, pull-cord) comes from /home.css + /css/mira-motion.css;
   the palette fan base from /css/coloring.css. Obsidian / gold / cream only.
   ========================================================================== */

:root {
  /* tokens coloring.css expects from the old styles.css */
  --obsidian-surface: #14100d;
  --obsidian-elevated: #1a1512;
  --gold-bright: #f4e3c3;
  --border-gold-accent: rgba(201, 169, 110, 0.42);
}

.text-link {
  position: relative; display: inline-flex; align-items: center; min-height: 44px;
  font-size: 0.88rem; font-weight: 500; color: var(--gold-light); text-decoration: none;
}
.text-link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 9px; height: 1px; background: currentColor; opacity: 0.55;
  transform-origin: 0 50%; transition: transform var(--dur-ui) var(--ease-silk), opacity var(--dur-ui) var(--ease-silk);
}
.text-link:hover::after { transform: scaleX(0.35); opacity: 1; }

/* ==========================================================================
   HERO
   ========================================================================== */
.ch-hero { position: relative; padding-block: 108px clamp(3rem, 7vw, 6rem); }
.ch-hero-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.ch-hero-copy { display: grid; gap: clamp(1.1rem, 2.2vh, 1.6rem); justify-items: start; max-width: 40rem; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 0.2rem 0.6rem; font-size: 0.78rem; color: var(--cream-faint); }
.crumbs li + li::before { content: "/"; margin-right: 0.6rem; color: var(--gold-dark); }
.crumbs a { display: inline-flex; align-items: center; min-height: 44px; color: var(--gold-light); text-decoration: none; }
.crumbs span { display: inline-flex; align-items: center; min-height: 44px; }
.ch-title {
  font-family: var(--font-heading); font-weight: 400; color: var(--cream-primary);
  font-size: clamp(2.8rem, min(5.4vw, 10vh), 5.2rem); line-height: 1.02; letter-spacing: -0.02em; text-wrap: balance;
}
.ch-title-line { display: inline-block; }
.ch-title em {
  font-style: italic; color: var(--gold-light);
  background: linear-gradient(100deg, var(--gold-dark) 0%, var(--gold-light) 40%, #f6e3b8 50%, var(--gold-light) 60%, var(--gold-primary) 100%);
  background-size: 220% 100%; background-position: 100% 0;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; padding-right: 0.06em;
}
.ch-title.is-shimmered em { animation: em-shimmer 1.8s var(--ease-silk) both; }
.ch-lead { max-width: 52ch; font-size: clamp(1rem, 1.2vw, 1.08rem); line-height: 1.75; color: var(--cream-muted); }
.ch-chips { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.ch-chips a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 0.9rem; border-radius: 999px;
  font-size: 0.8rem; color: var(--cream-secondary); text-decoration: none;
  box-shadow: inset 0 0 0 1px var(--hair); background: rgba(23, 18, 14, 0.5);
  transition: color var(--dur-ui) var(--ease-silk), box-shadow var(--dur-ui) var(--ease-silk), background var(--dur-ui) var(--ease-silk);
}
.ch-chips a:hover, .ch-chips a:focus-visible { color: var(--cream-primary); box-shadow: inset 0 0 0 1px var(--hair-strong); background: rgba(201, 169, 110, 0.1); }
.ch-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.4rem 1.2rem; padding-block: 1rem; border-block: 1px solid var(--hair); width: 100%; }
.ch-price-value { font-family: var(--font-heading); font-size: clamp(2rem, 3vw, 2.6rem); color: var(--cream-primary); line-height: 1; font-variant-numeric: lining-nums; }
.ch-price-note { font-size: 0.82rem; color: var(--cream-muted); }
.ch-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.8rem; }
.ch-trust { display: flex; flex-wrap: wrap; gap: 0.6rem 2.4rem; }
.ch-trust div { display: flex; flex-direction: column-reverse; gap: 0.15rem; }
.ch-trust dd { font-family: var(--font-heading); font-size: 1.6rem; line-height: 1; color: var(--cream-primary); font-variant-numeric: lining-nums; white-space: nowrap; }
.ch-trust dt { font-size: 0.68rem; letter-spacing: 0.08em; color: var(--cream-faint); }

/* The palette hangs from a nail on a golden thread */
.ch-hero-visual { display: flex; justify-content: center; }
.ch-palette-hanger { position: relative; width: min(100%, 480px); padding-top: clamp(70px, 10vh, 110px); transform-origin: 50% 0; }
.ch-palette-thread {
  position: absolute; top: 0; left: 50%; width: 1px; height: calc(clamp(70px, 10vh, 110px) + 1.2rem + 26px);
  background: linear-gradient(180deg, rgba(230, 200, 139, 0.15), var(--gold-light));
  z-index: 2;
}
.ch-palette-thread::before {
  content: ""; position: absolute; top: -4px; left: -4px; width: 9px; height: 9px; border-radius: 50%;
  background: var(--gold-light); box-shadow: 0 0 14px rgba(230, 200, 139, 0.85);
}
.js-motion .ch-palette-hanger.is-swaying { animation: ch-sway 7s cubic-bezier(0.45, 0, 0.55, 1) infinite; }
.js-motion .ch-palette-hanger.is-swaying.is-offscreen { animation-play-state: paused; }
@keyframes ch-sway { 0%, 100% { rotate: -0.9deg; } 50% { rotate: 0.9deg; } }

.page-coloring .cl-swatch { max-width: none; margin: 0; display: flex; flex-direction: column; }
.page-coloring .cl-swatch-fan { order: 1; }
.page-coloring .cl-swatch-hint { order: 2; margin: 1.2rem 0 0; text-align: center; font-size: 0.8rem; color: var(--cream-faint); }
.page-coloring .cl-swatch-card { order: 3; }
.page-coloring .cl-swatch-fan::before { border-color: var(--gold-light); box-shadow: 0 0 0 4px rgba(15, 12, 10, 0.6), 0 0 18px rgba(230, 200, 139, 0.6); }
.page-coloring .cl-strand figure { box-shadow: 0 24px 40px -24px rgba(0, 0, 0, 0.9); }
.page-coloring .cl-strand { transition: translate 0.5s var(--ease-silk); }
.page-coloring .cl-swatch-card {
  margin-top: 1rem; padding: 1.1rem 1.3rem; border: 0; border-radius: 1.3rem;
  background: linear-gradient(180deg, rgba(36, 27, 20, 0.92), rgba(18, 14, 11, 0.92));
  box-shadow: inset 0 0 0 1px var(--hair-strong), var(--shadow-float);
  display: grid; gap: 0.2rem;
}
.page-coloring .cl-swatch-card[hidden] { display: none; }
.page-coloring .cl-swatch-tone { color: var(--gold-light); }

/* ==========================================================================
   STRAND DIAGRAMS — how the colour lies from roots (top) to ends (bottom)
   ========================================================================== */
.strand {
  --strand-bg: linear-gradient(180deg, #3b2a1d, #6b4c30);
  position: relative; display: block; overflow: hidden;
  border-radius: 999px 999px 0 0;
  background: var(--strand-bg);
  clip-path: polygon(0 0, 100% 0, 100% 94%, 82% 100%, 63% 96%, 44% 100%, 24% 95%, 0 99%);
}
.strand::after {
  /* hair fibres + cylindrical sheen */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    repeating-linear-gradient(92deg, rgba(255, 246, 225, 0.07) 0 1px, transparent 1px 3px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.42), transparent 28%, rgba(255, 244, 220, 0.16) 48%, transparent 66%, rgba(0, 0, 0, 0.42));
}
.strand--airtouch { --strand-bg: linear-gradient(180deg, #2e2016 0%, #4a3220 14%, #8a6440 38%, #cfae7b 62%, #ecdcb8 82%, #f5ecd9 100%); }
.strand--shatush {
  --strand-bg:
    linear-gradient(180deg, #33241a 0%, #33241a 24%, rgba(51, 36, 26, 0) 60%),
    repeating-linear-gradient(90deg, rgba(0, 0, 0, 0) 0 6%, rgba(238, 216, 172, 0.92) 6% 10%, rgba(0, 0, 0, 0) 10% 17%, rgba(214, 180, 128, 0.75) 17% 20%, rgba(0, 0, 0, 0) 20% 28%),
    linear-gradient(180deg, #3b2a1d, #6b4c30 60%, #a37b4f);
}
.strand--balayazh {
  --strand-bg:
    linear-gradient(180deg, #3a291c 0%, #3a291c 16%, rgba(58, 41, 28, 0) 42%),
    linear-gradient(112deg, rgba(0, 0, 0, 0) 28%, rgba(242, 222, 182, 0.9) 44%, rgba(0, 0, 0, 0) 58%),
    linear-gradient(68deg, rgba(0, 0, 0, 0) 40%, rgba(228, 198, 148, 0.85) 55%, rgba(0, 0, 0, 0) 70%),
    linear-gradient(180deg, #3a291c, #7a5636 55%, #c39a63);
}
.strand--konturing {
  --strand-bg:
    linear-gradient(90deg, #efdcb4 0 17%, rgba(0, 0, 0, 0) 17% 83%, #efdcb4 83%),
    linear-gradient(180deg, #3b2a1d, #5a3f28 60%, #6e4f33);
}
.strand--relefnoe {
  --strand-bg:
    linear-gradient(180deg, #3a291c 0%, #3a291c 8%, rgba(58, 41, 28, 0) 30%),
    repeating-linear-gradient(90deg, #d8b98a 0 9%, #4b3422 9% 18%, #a37b4f 18% 24%, #2f2117 24% 33%);
}
.strand--odnotonnoe { --strand-bg: linear-gradient(180deg, #4e2a18, #6e3b22 45%, #7d4528 70%, #5a301c); }
.strand--korni {
  --strand-bg:
    linear-gradient(180deg, rgba(0, 0, 0, 0) 0 18%, rgba(244, 227, 195, 0.95) 18% calc(18% + 1.5px), rgba(0, 0, 0, 0) calc(18% + 1.5px)),
    linear-gradient(180deg, #5c3220, #6e3b22 40%, #7d4528 75%, #5a301c);
}
.strand--test { --strand-bg: linear-gradient(180deg, #2e2016 0%, #3b2a1d 50%, #a07a4e 72%, #e7cf9f 100%); }

/* ==========================================================================
   GOAL PICKER
   ========================================================================== */
.goal-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(2rem, 4vw, 4rem); align-items: start; }
.goal-tabs { position: relative; display: grid; gap: 0.2rem; border-left: 1px solid var(--hair); }
.goal-ink {
  position: absolute; left: -1px; top: 0; width: 2px; height: var(--ink-h, 0px); border-radius: 2px;
  background: linear-gradient(180deg, var(--gold-light), var(--gold-primary)); box-shadow: 0 0 14px rgba(230, 200, 139, 0.7);
  transform: translateY(var(--ink-y, 0px)); opacity: 0;
  transition: transform 650ms var(--ease-silk), opacity 300ms var(--ease-silk);
}
.goal-grid.is-js .goal-ink { opacity: 1; }
.goal-tab {
  display: grid; grid-template-columns: 2.4rem minmax(0, 1fr); align-items: center; gap: 0.6rem; min-height: 60px; width: 100%;
  padding: 0.7rem 1rem 0.7rem 1.4rem; border: 0; background: transparent; text-align: left; cursor: pointer;
  font-family: var(--font-heading); font-size: clamp(1.25rem, 1.7vw, 1.55rem); line-height: 1.15; color: var(--cream-muted);
  transition: color var(--dur-ui) var(--ease-silk), background var(--dur-ui) var(--ease-silk);
}
.goal-num { font-family: var(--font-body); font-size: 0.68rem; letter-spacing: 0.18em; color: var(--gold-dark); }
.goal-tab:hover { color: var(--cream-primary); background: linear-gradient(90deg, rgba(201, 169, 110, 0.07), transparent 80%); }
.goal-tab.is-active { color: var(--cream-primary); }
.goal-tab.is-active .goal-num { color: var(--gold-light); }
.goal-tab:focus-visible { outline: 2px solid var(--gold-light); outline-offset: -2px; border-radius: 0.6rem; }
.goal-panels { display: grid; gap: 1.6rem; }
.goal-grid.is-js .goal-panel:not(.is-active) { display: none; }
.goal-panel {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(1.4rem, 3vw, 2.6rem); align-items: center;
  padding: clamp(1rem, 2vw, 1.4rem); border-radius: 2rem;
  background: linear-gradient(180deg, rgba(36, 27, 20, 0.55), rgba(18, 14, 11, 0.55)); box-shadow: inset 0 0 0 1px var(--hair), var(--inner-hi);
}
.goal-photo { --bezel-r: 1.4rem; }
.goal-photo .mm-bezel-core { aspect-ratio: 3 / 4; }
.goal-photo img { width: 100%; height: 100%; object-fit: cover; }
.goal-body { display: grid; gap: 1rem; justify-items: start; padding-right: clamp(0rem, 1.5vw, 1rem); }
.goal-kicker { font-size: 0.66rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-light); }
.goal-title { font-family: var(--font-heading); font-weight: 400; font-size: clamp(1.9rem, 3vw, 2.7rem); line-height: 1.05; color: var(--cream-primary); }
.goal-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.9rem 1.4rem; width: 100%; padding-block: 1rem; border-block: 1px solid var(--hair); }
.goal-facts dt { font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--cream-faint); margin-bottom: 0.25rem; }
.goal-facts dd { font-size: 0.92rem; line-height: 1.5; color: var(--cream-secondary); }
.goal-price { font-family: var(--font-heading); font-size: 1.6rem !important; line-height: 1.1 !important; color: var(--cream-primary) !important; font-variant-numeric: lining-nums; }
.goal-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.8rem 1.6rem; }
.goal-note { margin-top: 2rem; font-size: 0.9rem; color: var(--cream-muted); }

/* ==========================================================================
   TECHNIQUES — sticky stage + chapters
   ========================================================================== */
.tech-layout { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2rem, 5vw, 5.5rem); align-items: start; }
.tech-stage { position: sticky; top: 104px; }
.tech-stage-inner { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 1.4rem; align-items: stretch; }
.tech-stage-strand { position: relative; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; justify-items: center; gap: 0.6rem; }
.tech-stage-zone { font-size: 0.6rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--cream-faint); writing-mode: vertical-rl; rotate: 180deg; }
.tech-strand-big { width: 46px; height: 100%; min-height: 260px; grid-row: 2; grid-column: 1; box-shadow: 0 0 40px rgba(201, 169, 110, 0.12); }
.tech-stage-strand > .tech-stage-zone:last-child { grid-row: 3; }
.tech-strand-next { visibility: hidden; }
.tech-stage-photo { position: relative; --bezel-r: 2rem; }
.tech-stage-photo .mm-bezel-core { aspect-ratio: 4 / 5; max-height: calc(100vh - 170px); }
.tech-stage-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tech-stage-next { visibility: hidden; }
.tech-stage-cap {
  position: absolute; left: 1.1rem; bottom: 1.1rem; display: inline-flex; align-items: center; gap: 0.7rem; padding: 0.5rem 1rem 0.5rem 0.6rem;
  border-radius: 999px; background: rgba(12, 9, 7, 0.82); box-shadow: inset 0 0 0 1px var(--hair);
  font-family: var(--font-heading); font-size: 1.15rem; color: var(--cream-primary);
}
.tech-stage-num { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; font-family: var(--font-body); font-size: 0.66rem; letter-spacing: 0.06em; color: var(--obsidian); background: linear-gradient(135deg, var(--gold-light), var(--gold-primary)); }

.tech-list { display: grid; gap: 0; }
.tech-group { position: relative; display: grid; gap: 0.6rem; padding: clamp(2.2rem, 4vw, 3.4rem) 0 1.4rem; }
.tech-group:first-child { padding-top: 0; }
.tech-group-meta { font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-light); }
.tech-group-title { font-family: var(--font-heading); font-weight: 400; font-size: clamp(1.9rem, 3vw, 2.6rem); line-height: 1.05; color: var(--cream-primary); }
.tech-group-title em { display: block; margin-top: 0.3rem; font-style: italic; color: var(--gold-light); font-size: 0.68em; }
.tech-group-text { max-width: 54ch; font-size: 0.95rem; line-height: 1.7; color: var(--cream-muted); }

.tech {
  position: relative; display: grid; gap: 1.1rem; padding: 1.6rem 0 1.8rem 1.6rem; border-left: 1px solid var(--hair);
  transition: opacity 600ms var(--ease-silk);
}
.tech::before {
  /* bead on the thread, lights up for the active chapter */
  content: ""; position: absolute; left: -5px; top: 2.25rem; width: 9px; height: 9px; border-radius: 50%;
  background: var(--obsidian-raise); box-shadow: inset 0 0 0 1px var(--gold-dark);
  transition: background 500ms var(--ease-silk), box-shadow 500ms var(--ease-silk);
}
.tech::after {
  content: ""; position: absolute; left: -1px; top: 0; bottom: 0; width: 1px; background: linear-gradient(180deg, var(--gold-light), var(--gold-primary));
  transform: scaleY(0); transform-origin: 50% 0; transition: transform 900ms var(--ease-silk);
}
.tech.is-active::before { background: var(--gold-light); box-shadow: 0 0 0 4px rgba(230, 200, 139, 0.15), 0 0 16px rgba(230, 200, 139, 0.8); }
.tech.is-active::after { transform: scaleY(1); }
.tech-photo { display: none; --bezel-r: 1.5rem; }
.tech-photo .mm-bezel-core { aspect-ratio: 4 / 3; }
.tech-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.tech-head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 1rem; }
.tech-num { font-size: 0.7rem; letter-spacing: 0.2em; color: var(--gold-dark); align-self: start; padding-top: 0.7rem; }
.tech-name { font-family: var(--font-heading); font-weight: 400; font-size: clamp(1.8rem, 2.6vw, 2.4rem); line-height: 1.05; color: var(--cream-primary); }
.tech-tag { margin-top: 0.25rem; font-family: var(--font-heading); font-style: italic; font-size: 1.15rem; color: var(--gold-light); }
.tech-strand-mini { width: 18px; height: 64px; display: none; }
.tech-facts { display: grid; gap: 0.8rem; }
.tech-facts div { display: grid; grid-template-columns: minmax(7.5rem, 9rem) minmax(0, 1fr); gap: 1rem; }
.tech-facts dt { padding-top: 0.2rem; font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--cream-faint); }
.tech-facts dd { font-size: 0.95rem; line-height: 1.6; color: var(--cream-secondary); }
.tech-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 1.6rem; padding-top: 1.1rem; border-top: 1px solid rgba(230, 200, 139, 0.08); }
.tech-meta { display: flex; align-items: baseline; gap: 0.9rem; }
.tech-meta strong { font-family: var(--font-heading); font-weight: 500; font-size: 1.7rem; color: var(--cream-primary); font-variant-numeric: lining-nums; }
.tech-meta span { font-size: 0.8rem; color: var(--cream-muted); }
.tech-foot .mm-cta { min-height: 50px; font-size: 0.84rem; padding-left: 1.3rem; }
.tech-foot .mm-cta-orb { width: 40px; height: 40px; }
@media (min-width: 1024px) {
  .js-motion .tech:not(.is-active) { opacity: 0.5; }
}

/* ==========================================================================
   BEFORE / AFTER (extras over home.css)
   ========================================================================== */
.case-dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.9rem 1.4rem; padding-top: 1rem; border-top: 1px solid var(--hair); }
.case-dl dt { font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--cream-faint); }
.case-dl dd { margin-top: 0.2rem; font-size: 0.95rem; color: var(--cream-primary); }

/* ==========================================================================
   CARE (one-pass vs staged lightening)
   ========================================================================== */
.care-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(1.2rem, 3vw, 2.4rem); align-items: stretch; }
.care-col { border-radius: 2rem; }
.care-col--muted { padding: clamp(1.6rem, 3vw, 2.6rem); box-shadow: inset 0 0 0 1px rgba(250, 247, 242, 0.06); }
.care-col--gold { --bezel-r: 2rem; }
.care-core { height: 100%; padding: clamp(1.6rem, 3vw, 2.6rem); background: linear-gradient(160deg, rgba(56, 42, 28, 0.85), rgba(20, 15, 11, 0.95)); }
.care-h { font-family: var(--font-heading); font-weight: 400; font-size: clamp(1.6rem, 2.4vw, 2.1rem); line-height: 1.1; color: var(--cream-primary); margin-bottom: 1.4rem; }
.care-col--muted .care-h { color: var(--cream-muted); }
.care-list { display: grid; gap: 0.95rem; }
.care-list li { position: relative; padding-left: 1.8rem; font-size: 0.95rem; line-height: 1.6; color: var(--cream-faint); }
.care-list li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 0.9rem; height: 1px; background: rgba(250, 247, 242, 0.25); }
.care-list--gold li { color: var(--cream-secondary); }
.care-list--gold li::before { top: 0.45em; width: 9px; height: 9px; border-radius: 50%; background: var(--gold-light); box-shadow: 0 0 10px rgba(230, 200, 139, 0.6); }

/* ==========================================================================
   PRICES
   ========================================================================== */
.price-list { border-top: 1px solid var(--hair); }
.price-row {
  display: grid; grid-template-columns: minmax(0, auto) minmax(2rem, 1fr) 5.5rem 8.5rem auto; align-items: center; gap: 1.2rem;
  min-height: 92px; padding-block: 1rem; border-bottom: 1px solid var(--hair);
}
.price-name { display: grid; gap: 0.2rem; font-family: var(--font-heading); font-size: clamp(1.4rem, 2.2vw, 1.9rem); line-height: 1.1; color: var(--cream-primary); }
.price-name small { font-family: var(--font-body); font-size: 0.78rem; color: var(--cream-muted); }
.price-dots { height: 1px; align-self: center; background-image: radial-gradient(circle, rgba(230, 200, 139, 0.45) 1px, transparent 1.5px); background-size: 7px 3px; background-repeat: repeat-x; background-position: 0 50%; }
.price-time { font-size: 0.8rem; color: var(--cream-muted); text-align: right; white-space: nowrap; }
.price-value { font-family: var(--font-heading); font-size: clamp(1.4rem, 2vw, 1.75rem); color: var(--cream-primary); text-align: right; white-space: nowrap; font-variant-numeric: lining-nums; }
.price-book {
  display: inline-flex; align-items: center; gap: 0.6rem; min-height: 46px; padding: 0 0.5rem 0 1.1rem; border-radius: 999px;
  font-size: 0.8rem; font-weight: 600; color: var(--gold-light); text-decoration: none; box-shadow: inset 0 0 0 1px var(--hair-strong);
  transition: background var(--dur-ui) var(--ease-silk), color var(--dur-ui) var(--ease-silk);
}
.price-book svg { width: 30px; height: 30px; padding: 8px; border-radius: 50%; background: rgba(230, 200, 139, 0.12); transition: transform var(--dur-ui) var(--ease-silk); }
.price-book:hover { background: linear-gradient(135deg, var(--gold-light), var(--gold-primary)); color: var(--obsidian); }
.price-book:hover svg { transform: rotate(45deg); background: rgba(15, 12, 10, 0.12); }
.prices-foot { margin-top: 2.2rem; }

/* ==========================================================================
   PORTFOLIO
   ========================================================================== */
.works-tabs { justify-self: end; }
.gal-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.8rem; }
.gal-item:first-child { grid-column: span 2; grid-row: span 2; }
.gal-item[hidden] { display: none; }
.gal-btn { position: relative; display: block; width: 100%; height: 100%; padding: 0; border: 0; border-radius: 1.4rem; overflow: hidden; cursor: zoom-in; background: var(--obsidian-raise); text-align: left; }
.gal-img { display: block; height: 100%; aspect-ratio: 3 / 4; }
.gal-item:first-child .gal-img { aspect-ratio: auto; }
.gal-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-silk); }
.gal-btn:hover .gal-img img, .gal-btn:focus-visible .gal-img img { transform: scale(1.05); }
.gal-cap {
  position: absolute; inset: auto 0 0 0; padding: 2.4rem 1rem 0.9rem; font-family: var(--font-heading); font-size: 1.1rem; color: var(--cream-primary);
  background: linear-gradient(0deg, rgba(10, 8, 6, 0.85), transparent); opacity: 0; transform: translateY(8px);
  transition: opacity var(--dur-ui) var(--ease-silk), transform var(--dur-ui) var(--ease-silk);
}
.gal-btn:hover .gal-cap, .gal-btn:focus-visible .gal-cap { opacity: 1; transform: none; }
.gal-btn:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 3px; }
.works-note { margin-top: 1.4rem; font-size: 0.82rem; color: var(--cream-faint); }

.lb { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(8, 6, 5, 0.94); color: var(--cream-primary); }
.lb::backdrop { background: rgba(8, 6, 5, 0.6); }
.lb[open] { display: grid; place-items: center; }
.lb-figure { display: grid; justify-items: center; gap: 0.9rem; padding: 64px 16px; }
.lb-img { width: auto; max-width: min(92vw, 720px); max-height: calc(100dvh - 170px); border-radius: 1.2rem; object-fit: contain; }
.lb-cap { font-family: var(--font-heading); font-size: 1.25rem; color: var(--cream-secondary); }
.lb-btn { position: fixed; display: grid; place-items: center; width: 52px; height: 52px; border: 0; border-radius: 50%; cursor: pointer; color: var(--cream-primary); background: rgba(23, 18, 14, 0.8); box-shadow: inset 0 0 0 1px var(--hair-strong); }
.lb-btn svg { width: 22px; height: 22px; }
.lb-btn:hover { background: rgba(201, 169, 110, 0.2); }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; translate: 0 -50%; }
.lb-next { right: 16px; top: 50%; translate: 0 -50%; }

/* ==========================================================================
   PROCESS — steps on a drawing thread
   ========================================================================== */
.process-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.process-head { position: sticky; top: 120px; margin-bottom: 0; }
.page-coloring .process-head { grid-template-columns: 1fr !important; }
.page-coloring .process-head > * { grid-column: 1 !important; grid-row: auto !important; }
.steps { position: relative; display: grid; gap: clamp(2rem, 4vw, 3rem); padding-left: 3rem; }
.steps-thread { position: absolute; left: 6px; top: 0.6rem; bottom: 0.6rem; width: 1px; background: var(--hair); }
.steps-thread-fill { position: absolute; inset: 0; background: linear-gradient(180deg, var(--gold-light), var(--gold-primary)); transform: scaleY(var(--fill, 1)); transform-origin: 50% 0; }
.js-motion .steps-thread-fill { --fill: 0; }
.step { position: relative; display: grid; gap: 0.5rem; }
.step-bead { position: absolute; left: calc(-3rem + 1px); top: 0.55rem; width: 11px; height: 11px; border-radius: 50%; background: var(--gold-light); box-shadow: 0 0 0 4px rgba(230, 200, 139, 0.14), 0 0 14px rgba(230, 200, 139, 0.6); transition: background 500ms var(--ease-silk), box-shadow 500ms var(--ease-silk); }
.js-motion .step:not(.is-lit) .step-bead { background: var(--obsidian-raise); box-shadow: inset 0 0 0 1px var(--gold-dark); }
.step-num { font-size: 0.68rem; letter-spacing: 0.2em; color: var(--gold-dark); }
.step-title { font-family: var(--font-heading); font-weight: 400; font-size: clamp(1.5rem, 2.2vw, 1.9rem); line-height: 1.1; color: var(--cream-primary); }
.step-text { max-width: 52ch; font-size: 0.95rem; line-height: 1.7; color: var(--cream-muted); }

/* ==========================================================================
   REVIEWS
   ========================================================================== */
.quotes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 2.4vw, 2rem); }
.quote {
  position: relative; display: grid; gap: 1.2rem; align-content: start; padding: clamp(1.6rem, 3vw, 2.6rem); border-radius: 2rem;
  background: linear-gradient(180deg, rgba(36, 27, 20, 0.6), rgba(18, 14, 11, 0.6)); box-shadow: inset 0 0 0 1px var(--hair), var(--inner-hi);
}
.quote::before { content: "“"; position: absolute; top: 0.6rem; right: 1.6rem; font-family: var(--font-heading); font-size: 7rem; line-height: 1; color: rgba(230, 200, 139, 0.12); }
.quote-stars { font-size: 0.9rem; letter-spacing: 0.25em; color: var(--gold-light); }
.quote blockquote { font-family: var(--font-heading); font-size: clamp(1.25rem, 1.8vw, 1.5rem); line-height: 1.4; color: var(--cream-primary); }
.quote figcaption { display: grid; gap: 0.15rem; }
.quote-name { font-weight: 600; font-size: 0.9rem; color: var(--cream-primary); }
.quote-what { font-size: 0.78rem; color: var(--cream-muted); }
.quote-reply { padding: 1rem 1.2rem; border-radius: 1.1rem; font-size: 0.86rem; line-height: 1.6; color: var(--cream-muted); background: rgba(201, 169, 110, 0.06); box-shadow: inset 2px 0 0 var(--gold-primary); }
.quote-reply strong { display: block; margin-bottom: 0.2rem; font-size: 0.66rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-light); }
.quotes-all { margin-top: 1.6rem; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.faq-head { position: sticky; top: 120px; margin-bottom: 0; }
.page-coloring .faq-head { grid-template-columns: 1fr !important; }
.page-coloring .faq-head > * { grid-column: 1 !important; grid-row: auto !important; }
.faq-list { border-top: 1px solid var(--hair); }
.faq-item { border-bottom: 1px solid var(--hair); }
.faq-q {
  display: grid; grid-template-columns: minmax(0, 1fr) 44px; align-items: center; gap: 1rem; min-height: 76px; padding-block: 0.8rem;
  cursor: pointer; list-style: none; font-family: var(--font-heading); font-size: clamp(1.25rem, 1.8vw, 1.55rem); line-height: 1.2; color: var(--cream-primary);
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 2px; border-radius: 0.6rem; }
.faq-icon { position: relative; width: 44px; height: 44px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--hair); transition: transform var(--dur-ui) var(--ease-silk), background var(--dur-ui) var(--ease-silk); }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1px; margin: -0.5px 0 0 -7px; background: var(--gold-light); transition: transform var(--dur-ui) var(--ease-silk); }
.faq-icon::after { transform: rotate(90deg); }
.faq-item[open] .faq-icon { background: rgba(230, 200, 139, 0.1); }
.faq-item[open] .faq-icon::after { transform: rotate(0deg); }
.faq-a { display: grid; grid-template-rows: 1fr; transition: grid-template-rows var(--dur-ui) var(--ease-silk); }
.faq-a-inner { overflow: hidden; }
.faq-a p { max-width: 62ch; padding: 0 3.6rem 1.4rem 0; font-size: 0.95rem; line-height: 1.75; color: var(--cream-muted); }
.js .faq-item[open]:not(.is-open) .faq-a { grid-template-rows: 0fr; }
.js .faq-item:not(.is-open) .faq-icon::after { transform: rotate(90deg); }
.js .faq-item:not(.is-open) .faq-icon { background: transparent; }

/* ==========================================================================
   INITIAL MOTION STATES (only with JS + motion)
   ========================================================================== */
.js-motion [data-hero] { opacity: 0; transform: translateY(22px); }
.js-motion [data-hero-title] .ch-title-line { opacity: 0; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1023px) {
  .ch-hero-grid { grid-template-columns: 1fr; }
  .ch-hero-visual { order: 2; }
  .ch-palette-hanger { width: min(100%, 420px); }
  .goal-grid { grid-template-columns: 1fr; }
  .goal-tabs { display: flex; overflow-x: auto; border-left: 0; border-bottom: 1px solid var(--hair); scrollbar-width: none; margin-inline: calc(-1 * clamp(16px, 4vw, 48px)); padding-inline: clamp(16px, 4vw, 48px); }
  .goal-tabs::-webkit-scrollbar { display: none; }
  .goal-tab { flex: none; width: auto; grid-template-columns: auto auto; padding: 0.7rem 1rem; font-size: 1.15rem; white-space: nowrap; }
  .goal-ink { display: none; }
  .goal-tab.is-active { box-shadow: inset 0 -2px 0 var(--gold-light); }
  .tech-layout { grid-template-columns: 1fr; }
  .tech-stage { display: none; }
  .tech-photo { display: block; }
  .tech-strand-mini { display: block; }
  .process-grid, .faq-grid { grid-template-columns: 1fr; }
  .process-head, .faq-head { position: relative; top: 0; }
  .care-grid { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .ch-hero { padding-top: 96px; }
  .ch-title { font-size: clamp(2.5rem, 11.5vw, 3.4rem); }
  .ch-actions .mm-cta { width: 100%; justify-content: space-between; }
  .ch-trust { gap: 0.6rem 1.6rem; }
  .goal-panel { grid-template-columns: 1fr; border-radius: 1.6rem; }
  .goal-photo .mm-bezel-core { aspect-ratio: 4 / 3; }
  .goal-photo img { object-position: 50% 25%; }
  .goal-facts { grid-template-columns: 1fr 1fr; }
  .goal-actions .mm-cta { width: 100%; justify-content: space-between; }
  .tech { padding-left: 1.1rem; }
  .tech-facts div { grid-template-columns: 1fr; gap: 0.2rem; }
  .tech-foot .mm-cta { width: 100%; justify-content: space-between; }
  .case-dl { grid-template-columns: 1fr 1fr; }
  .price-row { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "name value" "time book"; gap: 0.5rem 1rem; padding-block: 1.1rem; }
  .price-name { grid-area: name; }
  .price-value { grid-area: value; align-self: start; }
  .price-time { grid-area: time; text-align: left; }
  .price-book { grid-area: book; justify-self: end; }
  .price-dots { display: none; }
  .prices-foot .mm-cta { width: 100%; justify-content: space-between; }
  .works-tabs { justify-self: start; }
  .gal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.5rem; }
  .gal-btn { border-radius: 1rem; }
  .gal-cap { opacity: 1; transform: none; font-size: 0.95rem; padding: 2rem 0.7rem 0.6rem; }
  .quotes { grid-template-columns: 1fr; }
  .faq-a p { padding-right: 0; }
  .lb-prev, .lb-next { top: auto; bottom: 16px; translate: none; }
}
@media (prefers-reduced-motion: reduce) {
  .ch-palette-hanger { animation: none !important; }
  .tech, .tech::after, .goal-ink { transition: none; }
}
