/* parts-work.dk new design (Dec 2026)
   Loaded after each page's own <style>. It swaps the colour and type
   variables to the new palette and adds the new sections. All page
   scripts and markup classes stay the same. */

:root {
  --ground: #f7f2ec;   /* page: cream paper */
  --band: #efe6df;     /* alternating bands */
  --raised: #efe6df;   /* cards */
  --sunk: #e7ddd3;     /* panels inside cards */
  --brand: #8a2b34;    /* deep red from the blot core */
  --lilac: #1f2550;    /* main accent: navy (buttons, headings) */
  --cyan: #1f2550;     /* main text */
  --soft: #3a3f5c;     /* secondary text */
  --ink: #f7f2ec;      /* text on navy */
  --blue: #3f5f80;
  --ochre: #8a2b34;
  --rose: #e6a2ad;
  --slate: #3f5f80;    /* mono italic accent text */
  --red: #8a2b34;
  --display: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --voice: "DM Serif Display", Georgia, "Times New Roman", serif;
  --body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
}

body { background: var(--ground); color: var(--cyan); }
h1, h2, h3, .pull, .tagline, .punch, .sign, .ask, .crossed li, .intro-voice p:first-child {
  font-family: var(--voice) !important; font-style: normal !important; font-weight: 400 !important;
}
h2 { color: var(--lilac); }
a { color: var(--lilac); }
a:hover { color: var(--red); }
:focus-visible { outline-color: var(--red); }

/* Buttons */
.btn { font-family: var(--body); font-weight: 600; background: var(--lilac); color: var(--ink); border-color: var(--lilac); }
.btn:hover { background: var(--red); border-color: var(--red); color: var(--ink); }
.btn-quiet { background: transparent; color: var(--lilac); }
.btn-quiet:hover { background: var(--lilac); color: var(--ink); border-color: var(--lilac); }

/* Header */
.site { background: rgba(247, 242, 236, 0.92); border-bottom-color: rgba(31, 37, 80, 0.1);
  --menu-ink: var(--lilac); --menu-line: rgba(31, 37, 80, 0.16); --menu-bg: rgba(247, 242, 236, 0.98); }
.brand { font-family: var(--mono); font-weight: 400; font-size: 1.02rem; color: var(--lilac); letter-spacing: 0; }
.site nav a { color: var(--soft); }
.site nav a:hover, .site nav a[aria-current="page"] { color: var(--red); }
.site nav .btn { color: var(--ink); }
.site nav .btn:hover { color: var(--ink); }
.site nav a.lang { font-family: var(--mono); font-size: 0.85rem; border: 1.5px solid rgba(31, 37, 80, 0.25); border-radius: 999px; padding: 0.2rem 0.6rem; color: var(--lilac); }
.site nav a.lang:hover { border-color: var(--red); }

/* Mono italic voice (from the business card) */
.hero .lead, .pull, .hero-where, .mono-voice {
  font-family: var(--mono) !important; font-style: italic !important; font-weight: 400 !important; color: var(--slate);
}
.kicker { font-family: var(--mono); font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--red); margin: 0 0 0.8rem; }

/* New Year bar */
.ny-bar { background: var(--lilac); color: var(--ink); }
.ny-bar:hover { color: var(--ink); }
.ny-pill { background: #fff; color: var(--lilac); }

/* Hero with a blot (inner pages) */
.hero { background: var(--band); }
.hero::after {
  content: ""; position: absolute; z-index: 0; pointer-events: none;
  right: -4rem; top: 50%; transform: translateY(-50%);
  width: min(44vw, 560px); aspect-ratio: 1; border-radius: 50%;
  background: url(../images/blots/eclipse.jpg) center / cover;
}
.hero .wrap > * { max-width: min(100%, 40rem); }
.hero h1 { color: var(--lilac); }
.hero::after { animation: float 26s ease-in-out infinite alternate; }
@media (max-width: 860px) {
  .hero::after { width: 70vw; right: -25vw; top: 2rem; transform: none; opacity: 0.45; animation-name: float-m; }
  .hero.hero-blot::after { width: auto; top: -6%; right: -6%; opacity: 1; animation-name: drift; }
}

/* Slow, slight movement on the pictures (nothing follows the scroll) */
@keyframes drift { from { transform: scale(1) translate(0, 0); } to { transform: scale(1.08) translate(-2%, 1.5%); } }
@keyframes float { from { transform: translateY(-50%) rotate(0deg) scale(1); } to { transform: translateY(calc(-50% - 14px)) rotate(10deg) scale(1.04); } }
@keyframes float-m { from { transform: rotate(0deg) scale(1); } to { transform: translateY(-10px) rotate(10deg) scale(1.04); } }
@keyframes pan { from { background-position: 0% 40%; } to { background-position: 100% 60%; } }

/* Home hero: full-bleed blot, white type, like the business card */
.hero.hero-blot {
  background: #efe6df; position: relative; overflow: hidden;
  min-height: min(86vh, 860px); display: flex; align-items: stretch;
  padding: clamp(4rem, 10vw, 7rem) 0 clamp(2.5rem, 5vw, 3.5rem); text-align: center; color: #fff;
}
.hero.hero-blot::after {
  display: block; inset: -6%; width: auto; aspect-ratio: auto; border-radius: 0; opacity: 1;
  top: -6%; right: -6%; transform: none;
  background: url(../images/blots/tide-wide.jpg) center / cover;
  animation: drift 40s ease-in-out infinite alternate;
}
.hero.hero-blot .wrap { display: flex; flex-direction: column; justify-content: space-between; align-items: center; gap: 2.5rem; }
.hero.hero-blot .wrap > * { max-width: 100%; }
.hero.hero-blot h1 {
  color: #fff; font-size: clamp(3.4rem, 9vw, 8rem); line-height: 0.98; max-width: none; margin: 0 0 1.4rem;
  text-shadow: 0 2px 30px rgba(31, 37, 80, 0.35);
}
.hero.hero-blot .lead { color: #fff !important; max-width: 34rem; margin-inline: auto; font-size: 1.12rem; line-height: 1.6; text-shadow: 0 1px 16px rgba(31, 37, 80, 0.5); }
.hero.hero-blot .actions { justify-content: center; }
.hero.hero-blot .btn { background: #fff; color: var(--lilac); border-color: #fff; }
.hero.hero-blot .btn:hover { background: var(--lilac); color: #fff; border-color: var(--lilac); }
.hero.hero-blot .btn-quiet { background: transparent; color: #fff; }
.hero.hero-blot .btn-quiet:hover { background: #fff; color: var(--lilac); }
.hero.hero-blot .tagline-card { font-family: var(--voice); font-size: clamp(1.7rem, 4vw, 3rem); margin: 0; text-shadow: 0 2px 20px rgba(31, 37, 80, 0.4); }

/* Befriend yourself */
.befriend { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 24rem), 1fr)); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.befriend h2 { font-size: clamp(3.4rem, 7vw, 6.4rem); line-height: 0.95; margin: 0; }
.befriend .mono-voice { font-size: 1.3rem; line-height: 1.6; }
.befriend p { color: var(--soft); }

/* What is parts-work: three example parts */
.parts-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); gap: 1.4rem; margin: 2.5rem 0; }
.part-card { background: var(--ground); border-radius: 1.75rem; padding: 2rem; }
.part-card h3 { font-size: 1.85rem; color: var(--lilac); margin: 0.9rem 0 0.4rem; }
.part-card p { color: var(--soft); margin: 0; }
.part-dot { width: 4rem; height: 4rem; border-radius: 50%; animation: breathe 9s ease-in-out infinite; }
.part-dot.d1 { background: radial-gradient(circle at 50% 55%, #7a1f22 0 18%, #e6a2ad 50%, rgba(230,162,173,0) 72%); }
.part-dot.d2 { background: radial-gradient(circle at 50% 55%, #1f2550 0 18%, #a9c0de 50%, rgba(169,192,222,0) 72%); animation-delay: -3s; }
.part-dot.d3 { background: radial-gradient(circle at 50% 55%, #6a3a6e 0 18%, #c8b2d6 50%, rgba(200,178,214,0) 72%); animation-delay: -6s; }
@keyframes breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.06); } }
.no-bad-part { font-family: var(--voice); font-size: clamp(1.8rem, 3.4vw, 2.6rem); color: var(--red); text-align: center; margin: 1rem 0 0; }

/* How it works: three simple steps */
.start-steps { list-style: none; margin: 2.5rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); gap: 2.2rem; }
.start-steps li { border-top: 1.5px solid var(--lilac); padding-top: 1.4rem; }
.start-steps .when { font-family: var(--mono); font-size: 0.9rem; color: var(--red); }
.start-steps h3 { font-size: 1.85rem; color: var(--lilac); margin: 0.5rem 0 0.4rem; }
.start-steps p { color: var(--soft); margin: 0; }

/* How I work (five stages) */
.steps .marker { background: var(--lilac); color: var(--ink); box-shadow: 0 0 0 6px var(--ground); }
.band-alt .steps .marker { box-shadow: 0 0 0 6px var(--band); }
.steps .step-final .marker { background: var(--rose); color: var(--lilac); }
.journey-path path { stroke: var(--rose); opacity: 1; }
.therapy { background: var(--band); }
.band-alt { --raised: #f7f2ec; --sunk: #efe6df; }
.band-alt .therapy, .band-alt .part-card { background: var(--ground); }

/* Story */
.story-photo img { border-radius: 2rem; }
.story-text .tagline { font-size: clamp(1.7rem, 3vw, 2.3rem) !important; line-height: 1.2; color: var(--lilac); }
.story-who { font-family: var(--mono); font-style: italic; color: var(--slate); font-size: 0.95rem; }

/* Offers: a navy band, like the price section in the mockup */
#work {
  --ground: #1f2550; --band: #262d5e; --raised: #283066; --sunk: #1b2147;
  --lilac: #f7f2ec; --cyan: #f7f2ec; --soft: #cfd3e6; --ink: #1f2550; --rose: #e6a2ad;
  background: var(--ground); color: var(--cyan);
}
#work h2, #work h3 { color: var(--cyan); }
#work a:not(.btn) { color: #f3c6cd; }
#work .btn:hover { background: var(--rose); border-color: var(--rose); color: #1f2550; }
#work .btn-quiet:hover { background: var(--lilac); color: #1f2550; border-color: var(--lilac); }
#work .tier-level { color: #f3c6cd; font-family: var(--mono); }
#work .tier-featured { background: #f7f2ec; color: #1f2550; box-shadow: none;
  --cyan: #1f2550; --soft: #3a3f5c; --lilac: #1f2550; --ink: #f7f2ec; }
#work .tier-featured h3, #work .tier-featured .tier-level { color: #1f2550; }
#work .tier-featured .tier-level { color: var(--red); }
#work .tier-featured .btn:hover { background: var(--red); border-color: var(--red); color: #f7f2ec; }
#work .badge { background: var(--rose); color: #1f2550; }
#work .ny-banner { background: #f7f2ec; color: #1f2550; }
#work .ny-banner h3, #work .ny-banner p, #work .ny-banner li { color: #1f2550; }
#work .ny-banner .btn { background: #1f2550; color: #f7f2ec; border-color: #1f2550; }
#work .ny-tag { background: var(--rose); color: #1f2550; }
#work .tier-featured .ny-tag { background: #1f2550; color: #f7f2ec; }
#work .price .ny { color: var(--rose); }
#work .tier-featured .price .ny { color: var(--red); }
#work .price { font-family: var(--mono); font-weight: 400; }

/* Contact: blot band */
.contact {
  background: #e7a29b; color: #fff; text-align: center; position: relative; overflow: hidden;
  margin: 0 clamp(0rem, 2vw, 2rem) clamp(0rem, 2vw, 2rem); border-radius: clamp(0rem, 3vw, 2.5rem);
}
.contact::before {
  content: ""; position: absolute; inset: -8%; z-index: 0; pointer-events: none;
  background: url(../images/blots/horizon.jpg) center 80% / cover;
  animation: drift 34s ease-in-out infinite alternate-reverse;
}
.contact .wrap { position: relative; z-index: 1; }
.contact .wrap > * { margin-inline: auto; }
.contact h2 { color: #fff; font-size: clamp(2.8rem, 6vw, 5.4rem); line-height: 1; text-shadow: 0 2px 24px rgba(120, 30, 40, 0.3); }
.contact p { color: #fff; text-shadow: 0 1px 14px rgba(120, 30, 40, 0.35); }
.contact .actions { justify-content: center !important; }
.contact .btn { background: #fff; color: var(--lilac); border-color: #fff; }
.contact .btn:hover { background: var(--lilac); color: #fff; border-color: var(--lilac); }
.contact .btn-quiet { background: transparent; color: #fff; }
.contact .btn-quiet:hover { background: #fff; color: var(--lilac); }
.contact label { color: #fff; }

/* Footer */
footer { color: var(--soft); font-family: var(--mono); font-size: 0.85rem; }
footer .biz strong { color: var(--lilac); }
footer a { color: var(--slate); }

@media (prefers-reduced-motion: reduce) { .part-dot, .hero::after, .contact::before, .pg-workshops .letter-head { animation: none !important; } }

/* ---------- Workshops page (light "letter" layout, now in the new palette) ---------- */
body.pg-workshops { background: var(--ground) !important; color: var(--lilac) !important; }
.pg-workshops .letter { position: relative; }
.pg-workshops .letter-head {
  height: clamp(9rem, 22vw, 14rem); margin: 0 0 2rem; border-radius: 2rem;
  background: url(../images/blots/three.jpg) 0% 40% / 140% auto;
  animation: pan 30s ease-in-out infinite alternate;
}
.pg-workshops .letter .sign { font-size: 2.2rem; margin-top: 2rem; }
.pg-workshops .letter h1, .pg-workshops .letter h2, .pg-workshops .wcard h3, .pg-workshops .sign { color: var(--lilac) !important; }
.pg-workshops .letter .ask, .pg-workshops .letter .lead { color: var(--slate) !important; font-family: var(--mono) !important; font-style: italic !important; font-size: clamp(1.15rem, 2.6vw, 1.4rem) !important; line-height: 1.5 !important; }
.pg-workshops .crossed s { color: #8a8193; background-image: linear-gradient(var(--red), var(--red)); }
.pg-workshops .crossed em { color: var(--lilac); font-family: var(--mono); font-style: italic; }
.pg-workshops .intro-voice p:first-child { color: #8a8193; }
.pg-workshops .label { background: var(--lilac); color: var(--ink); font-family: var(--mono); font-weight: 400; }
.pg-workshops .steps li { border-bottom-color: rgba(31, 37, 80, 0.15); }
.pg-workshops .steps li::before { background: var(--lilac); color: var(--ink); font-family: var(--mono); font-weight: 400; }
.pg-workshops .card, .pg-workshops .wcard { background: #fff; box-shadow: 0 10px 30px rgba(31, 37, 80, 0.07); }
.pg-workshops .card dt, .pg-workshops .wcard .meta, .pg-workshops .back { color: #5d6178; }
.pg-workshops .wcard p { color: var(--soft); }
.pg-workshops .wcard .pill { background: var(--band); color: var(--red); font-family: var(--mono); font-weight: 400; }
.pg-workshops .wcard .more { color: var(--lilac); font-family: var(--body); font-weight: 600; }
.pg-workshops .site { background: rgba(247, 242, 236, 0.92) !important; }
.pg-workshops .brand { color: var(--lilac) !important; }
.pg-workshops .site nav a { color: var(--soft) !important; }
.pg-workshops .site nav a[aria-current="page"] { color: var(--red) !important; }
.pg-workshops .site nav .btn, .pg-workshops .btn { background: var(--lilac) !important; border-color: var(--lilac) !important; color: var(--ink) !important; }
.pg-workshops .btn-quiet { background: transparent !important; color: var(--lilac) !important; }
.pg-workshops .site nav a.lang { color: var(--lilac) !important; }
.pg-workshops a { color: var(--lilac); }
.pg-workshops footer { background: var(--lilac) !important; color: #cfd3e6; }
.pg-workshops footer .biz strong { color: #f7f2ec; }
.pg-workshops footer a { color: #cfd3e6; }

/* ---------- Blog ---------- */
.pg-blog .hero::after { background-image: url(../images/blots/seed.jpg); }
.pg-blog .chip { font-family: var(--mono); }
.pg-blog .post-card { background: var(--band); color: var(--cyan); }
.contact .subscribe input { color: #1f2550; }

/* ---------- Smaller, quieter buttons ---------- */
.btn { padding: 0.6rem 1.15rem; font-size: 0.92rem; font-weight: 500; border-width: 1.5px; }
.site nav .btn { padding: 0.42rem 0.95rem; font-size: 0.88rem; }
.actions { gap: 0.6rem; }
.hero.hero-blot .actions { gap: 0.7rem; }
.hero.hero-blot .btn {
  background: rgba(255, 255, 255, 0.82); border-color: transparent; color: var(--lilac);
  padding: 0.55rem 1.05rem; font-size: 0.88rem;
}
.hero.hero-blot .btn:hover { background: #fff; color: var(--lilac); border-color: transparent; }
.hero.hero-blot .btn-quiet { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.6); }
.hero.hero-blot .btn-quiet:hover { background: rgba(255, 255, 255, 0.15); color: #fff; border-color: #fff; }
.hero.hero-blot .ny-pill { font-size: 0.8rem; padding: 0.3rem 0.8rem; background: rgba(255, 255, 255, 0.7); }
