/* Studio: the approved cream, forest and portrait-led direction. */
:root { color-scheme: light dark; scrollbar-color: light-dark(#526657, #b9c9b8) light-dark(#f6f4ea, #17271f); }
:root[data-theme="light"] { color-scheme: light; }
:root[data-theme="dark"] { color-scheme: dark; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: light-dark(#f6f4ea, #17271f); font-family: 'DM Sans', sans-serif; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: absolute; z-index: 10; top: 12px; left: 12px; padding: 12px 18px; background: #d8eb97; color: #1e422a; transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
#nextmind {
  --nma-paper: light-dark(#f6f4ea, #17271f);
  --nma-paper-raised: light-dark(#fffef8, #20362a);
  --nma-ink: light-dark(#183d2d, #eef2de);
  --nma-muted: light-dark(#526657, #b9c9b8);
  --nma-line: light-dark(#ccd4c3, #47604d);
  --nma-forest: light-dark(#153f2e, #102f23);
  --nma-forest-text: light-dark(#f6f6e8, #f6f6e8);
  --nma-forest-soft: light-dark(#c5d6bc, #c5d6bc);
  --nma-lime: light-dark(#d8eb97, #d8eb97);
  --nma-lime-ink: light-dark(#1e422a, #1e422a);
  --nma-sage: light-dark(#e3ebd5, #2c4834);
  --nma-sage-deep: light-dark(#d3dec3, #3a553d);
  --nma-selection: light-dark(#cbe485, #527646);
  --nma-shadow: light-dark(#183d2d16, #00000026);
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--nma-ink);
  background: var(--nma-paper);
  container-type: inline-size;
  container-name: nma-page;
  isolation: isolate;
  max-width: 1280px;
  margin-inline: auto;
}
#nextmind * { box-sizing: border-box; }
#nextmind ::selection { background: var(--nma-selection); color: var(--nma-ink); }
#nextmind :is(h1,h2,h3,p,figure) { margin: 0; }
#nextmind :is(h1,h2,h3) { font-weight: 500; line-height: 1.12; letter-spacing: -.035em; text-wrap: balance; }
#nextmind h2 { font-size: 36px; }
#nextmind h3 { font-size: 24px; }
#nextmind a { color: inherit; text-underline-offset: 5px; }
#nextmind button { font: inherit; }
#nextmind img { display: block; max-width: 100%; }
#nextmind summary { cursor: pointer; }
#nextmind .nma-wrap { padding-inline: 48px; }
#nextmind .nma-nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 23px; }
#nextmind .nma-brand { font-size: 25px; letter-spacing: -.04em; text-decoration: none; font-weight: 500; }
#nextmind .nma-nav-links { display: flex; align-items: center; flex-wrap: wrap; gap: 26px; font-size: 14px; }
#nextmind .nma-nav-links a { text-decoration: none; padding-block: 6px; }
#nextmind .nma-nav-links a:last-child { border-bottom: 1px solid currentColor; }
#nextmind .nma-nav-links a:hover { text-decoration: underline; }
#nextmind .nma-hero { color: var(--nma-forest-text); background: var(--nma-forest); padding-block: 54px 48px; display: grid; grid-template-columns: 1.35fr 1fr; gap: 40px; align-items: center; }
#nextmind .nma-hero h1 { font-size: clamp(42px, 6.15cqw, 63px); max-width: 12.6ch; line-height: 1.02; }
#nextmind .nma-hero h1 em { display: block; font-style: normal; color: var(--nma-lime); }
#nextmind .nma-hero-copy > p { margin-top: 24px; max-width: 46ch; color: var(--nma-forest-soft); }
#nextmind .nma-actions { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; margin-top: 28px; }
#nextmind .nma-action { display: inline-flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 46px; padding: 11px 18px; border-radius: 6px; text-decoration: none; font-size: 14px; font-weight: 500; background: var(--nma-lime); color: var(--nma-lime-ink); transition: box-shadow 180ms ease-out; }
#nextmind .nma-action:hover { box-shadow: 0 6px 18px var(--nma-shadow); text-decoration: underline; }
#nextmind .nma-hero .nma-action:focus-visible { outline-color: var(--nma-lime); }
#nextmind .nma-text-link { display: inline-flex; gap: 9px; align-items: center; min-height: 44px; font-size: 14px; }
#nextmind .nma-action svg, #nextmind .nma-text-link svg { width: 17px; height: 17px; }
#nextmind .nma-hero-people { padding-top: 6px; }
#nextmind .nma-hero-portraits { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: start; }
#nextmind .nma-hero-portraits figure:nth-child(2) { margin-top: 45px; }
#nextmind .nma-hero-portraits img { width: 100%; height: auto; aspect-ratio: .76; object-fit: cover; border-radius: 12px; background: var(--nma-sage-deep); }
#nextmind .nma-hero-portraits img[data-portrait="marcin"] { object-position: center top; }
#nextmind .nma-hero-portraits img[data-portrait="milosz"] { object-position: 57% center; }
#nextmind .nma-hero-portraits figcaption { margin-top: 10px; font-size: 13px; color: var(--nma-forest-soft); }
#nextmind .nma-hero-people > p { color: var(--nma-forest-soft); font-size: 13px; margin-top: 23px; max-width: 34ch; }
#nextmind .nma-focus { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 28px; padding-block: 28px; background: var(--nma-sage); }
#nextmind .nma-focus h2 { font-size: 17px; letter-spacing: -.025em; line-height: 1.3; }
#nextmind .nma-focus p { margin-top: 6px; font-size: 13px; color: var(--nma-muted); }
#nextmind .nma-offer { padding-block: 54px 45px; }
#nextmind .nma-section-top { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 25px; }
#nextmind .nma-section-top > p { font-size: 14px; max-width: 33ch; color: var(--nma-muted); }
#nextmind .nma-offer-grid { display: grid; grid-template-columns: 1.08fr 1fr; gap: 20px; }
#nextmind .nma-workshop { background: var(--nma-sage); border-radius: 14px; padding: 29px; box-shadow: 0 10px 26px var(--nma-shadow); display: flex; flex-direction: column; align-items: start; }
#nextmind .nma-workshop h3 { font-size: 29px; }
#nextmind .nma-format { margin-top: 10px; font-size: 14px; color: var(--nma-muted); }
#nextmind .nma-workshop > p:not(.nma-format) { margin-top: 19px; max-width: 37ch; font-size: 15px; }
#nextmind .nma-price { margin-top: 25px; display: flex; gap: 9px; align-items: baseline; flex-wrap: wrap; }
#nextmind .nma-price strong { font-size: 26px; font-weight: 500; line-height: 1.1; letter-spacing: -.025em; }
#nextmind .nma-price span { font-size: 12px; color: var(--nma-muted); }
#nextmind .nma-workshop .nma-price { margin-top: auto; padding-top: 27px; }
#nextmind .nma-offer-details { width: 100%; margin-top: 20px; font-size: 14px; }
#nextmind .nma-offer-details summary { padding-block: 9px; text-underline-offset: 4px; }
#nextmind .nma-offer-details summary:hover { text-decoration: underline; }
#nextmind .nma-offer-details[open] summary { margin-bottom: 5px; }
#nextmind .nma-offer-details p { color: var(--nma-muted); font-size: 14px; }
#nextmind .nma-workshop > .nma-text-link { margin-top: 8px; }
#nextmind .nma-advisory { border: 1px solid var(--nma-line); border-radius: 14px; padding: 0 25px; background: var(--nma-paper-raised); }
#nextmind .nma-advisory article { padding-block: 23px; }
#nextmind .nma-advisory article + article { border-top: 1px solid var(--nma-line); }
#nextmind .nma-advisory h3 { font-size: 22px; }
#nextmind .nma-advisory article > p { margin-top: 11px; font-size: 14px; color: var(--nma-muted); }
#nextmind .nma-advisory .nma-price { margin-top: 17px; }
#nextmind .nma-advisory .nma-price strong { font-size: 23px; }
#nextmind .nma-advisory .nma-offer-details { margin-top: 8px; }
#nextmind .nma-offer-note { margin-top: 20px; font-size: 12px; line-height: 1.6; color: var(--nma-muted); max-width: 92ch; }
#nextmind .nma-sdd { display: grid; grid-template-columns: .92fr 1.08fr; align-items: start; gap: 42px; padding-block: 34px 38px; border-top: 1px solid var(--nma-line); border-bottom: 1px solid var(--nma-line); background: var(--nma-paper-raised); }
#nextmind .nma-sdd h2 { font-size: 32px; }
#nextmind .nma-sdd h2 span { color: var(--nma-muted); }
#nextmind .nma-sdd-intro p { font-size: 14px; color: var(--nma-muted); margin-top: 18px; max-width: 38ch; }
#nextmind .nma-sdd-steps { margin: 0; padding-left: 25px; font-size: 14px; }
#nextmind .nma-sdd-steps li { padding-left: 8px; padding-bottom: 10px; }
#nextmind .nma-sdd-steps li::marker { color: var(--nma-muted); }
#nextmind .nma-sdd-example { font-size: 13px; margin-top: 10px; }
#nextmind .nma-sdd-example summary { padding: 10px 13px; border-radius: 6px; background: var(--nma-sage); }
#nextmind .nma-sdd-example p { padding-top: 13px; color: var(--nma-muted); }
#nextmind .nma-team { padding-block: 49px 43px; }
#nextmind .nma-team .nma-section-top { align-items: start; }
#nextmind .nma-team-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
#nextmind .nma-person-top { display: flex; align-items: center; gap: 18px; }
#nextmind .nma-person-top img { width: 106px; height: 126px; flex: 0 0 106px; object-fit: cover; border-radius: 10px; background: var(--nma-sage-deep); }
#nextmind .nma-person-top img[data-portrait="milosz"] { object-position: 56% center; }
#nextmind .nma-person-top h3 { font-size: 24px; }
#nextmind .nma-person-focus { color: var(--nma-muted); font-size: 13px; margin-top: 9px; max-width: 25ch; }
#nextmind .nma-person > p { margin-top: 19px; font-size: 14px; color: var(--nma-muted); max-width: 48ch; }
#nextmind .nma-sonia { display: grid; grid-template-columns: 116px 1fr; gap: 24px; margin-top: 31px; padding: 25px; background: var(--nma-sage); border-radius: 12px; }
#nextmind .nma-sonia img { width: 116px; height: 139px; object-fit: cover; border-radius: 8px; background: var(--nma-sage-deep); }
#nextmind .nma-sonia-heading { display: flex; gap: 18px; align-items: baseline; flex-wrap: wrap; }
#nextmind .nma-sonia h3 { font-size: 24px; }
#nextmind .nma-sonia-heading p { font-size: 13px; color: var(--nma-muted); }
#nextmind .nma-sonia-copy > p { font-size: 14px; color: var(--nma-muted); margin-top: 10px; max-width: 78ch; }
#nextmind .nma-sonia-links { display: flex; gap: 22px; flex-wrap: wrap; font-size: 12px; margin-top: 9px; }
#nextmind .nma-contact { padding-block: 38px 29px; color: var(--nma-forest-text); background: var(--nma-forest); }
#nextmind .nma-contact-main { display: grid; grid-template-columns: 1.1fr 1fr; gap: 38px; align-items: center; }
#nextmind .nma-contact h2 { font-size: 35px; max-width: 14ch; }
#nextmind .nma-contact p { max-width: 43ch; font-size: 14px; color: var(--nma-forest-soft); }
#nextmind .nma-email { display: inline-block; font-size: 26px; letter-spacing: -.025em; color: var(--nma-lime); margin-top: 14px; overflow-wrap: anywhere; }
#nextmind .nma-footer { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; margin-top: 31px; padding-top: 18px; border-top: 1px solid var(--nma-forest-soft); font-size: 11px; color: var(--nma-forest-soft); }
#nextmind .nma-footer .nma-brand { font-size: 17px; color: var(--nma-forest-text); }
@container nma-page (max-width: 800px) {
  #nextmind .nma-wrap { padding-inline: 30px; }
  #nextmind .nma-hero { gap: 28px; grid-template-columns: 1.24fr 1fr; padding-block: 40px; }
  #nextmind .nma-hero h1 { font-size: 47px; }
  #nextmind .nma-hero-copy > p { font-size: 15px; }
  #nextmind .nma-hero-portraits { gap: 8px; }
  #nextmind .nma-hero-portraits figure:nth-child(2) { margin-top: 30px; }
  #nextmind .nma-hero-portraits figcaption { font-size: 12px; }
  #nextmind .nma-focus { gap: 19px; }
  #nextmind .nma-focus h2 { font-size: 15px; }
  #nextmind .nma-section-top { align-items: start; }
  #nextmind h2 { font-size: 31px; }
  #nextmind .nma-workshop { padding: 23px; }
  #nextmind .nma-advisory { padding-inline: 21px; }
  #nextmind .nma-workshop h3 { font-size: 26px; }
  #nextmind .nma-sdd { gap: 24px; }
  #nextmind .nma-sdd h2 { font-size: 29px; }
  #nextmind .nma-team-grid { gap: 24px; }
  #nextmind .nma-person-top { gap: 13px; }
  #nextmind .nma-person-top img { width: 86px; height: 110px; flex-basis: 86px; }
  #nextmind .nma-person-top h3 { font-size: 21px; }
  #nextmind .nma-contact h2 { font-size: 31px; }
}
@container nma-page (max-width: 580px) {
  #nextmind .nma-wrap { padding-inline: 22px; }
  #nextmind .nma-nav { gap: 12px; flex-wrap: wrap; padding-block: 17px; }
  #nextmind .nma-brand { font-size: 22px; }
  #nextmind .nma-nav-links { width: 100%; justify-content: space-between; gap: 12px; font-size: 12px; }
  #nextmind .nma-nav-links a { min-height: 36px; display: flex; align-items: center; }
  #nextmind .nma-hero { grid-template-columns: 1fr; gap: 30px; padding-block: 31px 29px; }
  #nextmind .nma-hero h1 { font-size: clamp(39px, 11.8cqw, 60px); max-width: 13ch; }
  #nextmind .nma-hero-copy > p { max-width: 46ch; margin-top: 19px; }
  #nextmind .nma-actions { margin-top: 22px; }
  #nextmind .nma-hero-people { max-width: 440px; padding: 0; }
  #nextmind .nma-hero-portraits { gap: 12px; }
  #nextmind .nma-hero-portraits img { aspect-ratio: 1.05; }
  #nextmind .nma-hero-portraits figure:nth-child(2) { margin-top: 20px; }
  #nextmind .nma-hero-people > p { max-width: 42ch; margin-top: 16px; }
  #nextmind .nma-focus { grid-template-columns: 1fr; gap: 18px; padding-block: 23px; }
  #nextmind .nma-focus h2 { font-size: 17px; }
  #nextmind .nma-focus p { margin-top: 3px; }
  #nextmind .nma-offer { padding-block: 35px; }
  #nextmind .nma-section-top { display: block; margin-bottom: 21px; }
  #nextmind .nma-section-top > p { margin-top: 13px; max-width: 43ch; }
  #nextmind .nma-offer-grid { grid-template-columns: 1fr; gap: 16px; }
  #nextmind .nma-workshop { padding: 24px; }
  #nextmind .nma-workshop .nma-price { padding-top: 24px; }
  #nextmind .nma-sdd { grid-template-columns: 1fr; gap: 22px; padding-block: 29px; }
  #nextmind .nma-sdd h2 { font-size: 30px; max-width: 18ch; }
  #nextmind .nma-sdd-intro p { margin-top: 13px; }
  #nextmind .nma-team { padding-block: 35px; }
  #nextmind .nma-team-grid { grid-template-columns: 1fr; gap: 29px; }
  #nextmind .nma-person-top { gap: 19px; }
  #nextmind .nma-person-top img { width: 107px; height: 125px; flex-basis: 107px; }
  #nextmind .nma-person-top h3 { font-size: 24px; }
  #nextmind .nma-person > p { margin-top: 13px; }
  #nextmind .nma-sonia { grid-template-columns: 76px 1fr; gap: 16px; padding: 19px; margin-top: 29px; }
  #nextmind .nma-sonia img { width: 76px; height: 98px; }
  #nextmind .nma-sonia-copy { display: contents; }
  #nextmind .nma-sonia-heading { gap: 7px; grid-column: 2; align-content: center; }
  #nextmind .nma-sonia h3 { font-size: 22px; }
  #nextmind .nma-sonia-heading p { font-size: 12px; }
  #nextmind .nma-sonia-copy > p { font-size: 13px; grid-column: 1 / -1; margin-top: 0; }
  #nextmind .nma-sonia-links { gap: 12px; grid-column: 1 / -1; margin-top: 0; }
  #nextmind .nma-contact { padding-block: 30px 23px; }
  #nextmind .nma-contact-main { grid-template-columns: 1fr; gap: 18px; }
  #nextmind .nma-contact h2 { font-size: 33px; }
  #nextmind .nma-footer { align-items: start; margin-top: 24px; }
  #nextmind .nma-footer span:last-child { max-width: 23ch; text-align: right; }
}
@media (prefers-reduced-motion: reduce) { #nextmind .nma-action { transition: none; } }

/* Production controls retain independent language and theme preferences. */
#nextmind .icon { flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
#nextmind .nma-nav { gap: 24px; }
#nextmind .nma-nav-links { margin-left: auto; gap: 22px; }
#nextmind .nma-nav-links a { min-height: 44px; display: inline-flex; align-items: center; }
#nextmind .preferences { display: flex; align-items: center; gap: 12px; }
#nextmind .languages { display: flex; }
#nextmind .languages button, #nextmind .nav-toggle { color: var(--nma-ink); background: transparent; border: 0; padding: 8px 10px; min-height: 44px; cursor: pointer; font-size: 13px; border-radius: 6px; }
#nextmind .languages button[aria-pressed="true"] { background: var(--nma-sage); }
#nextmind .languages button:hover, #nextmind .nav-toggle:hover { text-decoration: underline; text-underline-offset: 4px; }
#nextmind .theme-control select { font: inherit; font-size: 13px; min-height: 44px; max-width: 120px; padding: 8px; color: var(--nma-ink); background: var(--nma-paper); border: 1px solid var(--nma-line); border-radius: 6px; cursor: pointer; }
#nextmind .nav-toggle { display: none; }
#nextmind .nma-sdd h2 .nma-sdd-first { color: var(--nma-ink); }
#nextmind .nma-sdd-intro > .nma-text-link { margin-top: 9px; }
#nextmind .nma-pilot-link { margin-top: 2px; }
#nextmind .nma-sonia-links a { display: inline-flex; align-items: center; min-height: 44px; }
#nextmind .email-note { margin-top: 8px; font-size: 12px; }

@container nma-page (max-width: 850px) {
  #nextmind .nma-nav { flex-wrap: wrap; gap: 12px 20px; }
  #nextmind .nma-nav-links { width: 100%; margin: 0; order: 3; justify-content: space-between; }
  #nextmind .preferences { margin-left: auto; }
  #nextmind .nav-toggle { display: block; margin-left: auto; }
  .js-nav #nextmind .nma-nav-links { display: none; }
  .js-nav #nextmind .nma-nav-links[data-open="true"] { display: flex; }
}
@container nma-page (max-width: 580px) {
  #nextmind .nma-nav { display: grid; grid-template-columns: 1fr auto; }
  #nextmind .preferences { grid-column: 1 / -1; width: 100%; justify-content: space-between; }
  #nextmind .nma-nav-links { grid-column: 1 / -1; gap: 12px; }
  #nextmind .theme-control select { max-width: none; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
