:root {
  --ink: #1f3333;
  --ink-deep: #142323;
  --muted: #566865;
  --paper: #f9f8f4;
  --cream: #eaf0eb;
  --sage: #b7cbbd;
  --sage-light: #d6e2d9;
  --coral: #c8533c;
  --coral-hover: #db6149;
  --coral-text: #b84c35;
  --coral-glow: rgb(200 83 60 / 25%);
  --line: rgb(31 51 51 / 12%);

  /* Dynamic shadow tokens */
  --shadow-xs: 0 2px 6px rgb(31 51 51 / 4%);
  --shadow-sm: 0 4px 16px rgb(31 51 51 / 6%);
  --shadow-md: 0 12px 30px -6px rgb(31 51 51 / 9%), 0 4px 10px rgb(31 51 51 / 4%);
  --shadow: 0 20px 55px rgb(31 51 51 / 8%);
  --shadow-hover: 0 28px 65px rgb(31 51 51 / 14%), 0 8px 20px rgb(200 83 60 / 10%);

  --max-width: 1180px;
  --font-serif: Charter, "Bitstream Charter", "Sitka Text", Cambria, Georgia, serif;
  --font-display: "Playfair Display", "Cormorant Garamond", Charter, "Sitka Display", Georgia, serif;
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 999px;

  /* Animation and transition curves */
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: 0.18s var(--ease-out-expo);
  --transition-base: 0.28s var(--ease-out-expo);
  --transition-slow: 0.45s var(--ease-out-expo);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-serif);
  font-size: 18px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Ambient subtle backdrop lighting across whole document */
body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    radial-gradient(circle at 14% 18%, rgb(234 240 235 / 55%) 0%, transparent 45%),
    radial-gradient(circle at 86% 68%, rgb(183 203 189 / 20%) 0%, transparent 50%),
    linear-gradient(110deg, rgb(232 238 233 / 36%), transparent 42%);
  content: "";
  pointer-events: none;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 11px;
  height: 11px;
}
::-webkit-scrollbar-track {
  background: var(--paper);
}
::-webkit-scrollbar-thumb {
  background: var(--sage);
  border-radius: var(--radius-full);
  border: 3px solid var(--paper);
  transition: background-color var(--transition-base);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--coral);
}

::selection {
  color: #ffffff;
  background: var(--coral);
}

:focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: 4px;
  border-radius: 4px;
}

a {
  color: inherit;
  transition: color var(--transition-base);
}

.build-version {
  position: fixed;
  left: 8px;
  bottom: 8px;
  z-index: 999;
  font-family: monospace;
  font-size: 11px;
  color: var(--muted);
  background: rgb(247 245 239 / 85%);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  backdrop-filter: blur(8px);
  pointer-events: none;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 200;
  padding: 10px 18px;
  color: var(--paper);
  background: var(--ink);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-md);
  font: 700 0.78rem/1.2 var(--font-sans);
  letter-spacing: 0.04em;
  text-decoration: none;
  transform: translateY(-180%);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}
.skip-link:focus {
  transform: translateY(0);
}

.clipboard-copy-fallback {
  position: fixed;
  opacity: 0;
  pointer-events: none;
}

.container {
  width: min(var(--max-width), calc(100% - 64px));
  margin: 0 auto;
}

/* -------------------------------------------------------------
   Sticky Header & Interactive Navigation
   ------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--line);
  background: rgb(248 247 242 / 85%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: background-color var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base);
}

.site-nav {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.logo {
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
  transition: transform var(--transition-base), color var(--transition-base);
}
.logo span {
  display: inline-block;
  margin-left: 0.25rem;
  color: inherit;
  font-style: normal;
  font-weight: 700;
  transition: color var(--transition-base);
}
.logo:hover {
  transform: translateY(-1px) scale(1.02);
}
.logo:hover span {
  color: var(--coral-text);
}
.logo:active {
  transform: translateY(0) scale(0.98);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.nav-links li {
  position: relative;
}
.nav-links a {
  position: relative;
  display: inline-block;
  padding: 8px 4px;
  color: var(--ink);
  text-decoration: none;
  transition: color var(--transition-base), transform var(--transition-base);
}
.nav-links a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--coral-text);
  border-radius: var(--radius-full);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.32s var(--ease-out-expo);
}
.nav-links a:not(.nav-cta):hover::after,
.nav-links a:not(.nav-cta):focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}
.nav-links a:not(.nav-cta):hover {
  color: var(--coral-text);
  transform: translateY(-1px);
}
.nav-links a:not(.nav-cta):active {
  transform: translateY(0);
}

.nav-cta {
  position: relative;
  overflow: hidden;
  padding: 10px 18px;
  border: 1.5px solid var(--ink);
  border-radius: var(--radius-full);
  background: transparent;
  color: var(--ink);
  box-shadow: var(--shadow-xs);
  transition:
    color var(--transition-base),
    background-color var(--transition-base),
    border-color var(--transition-base),
    transform var(--transition-base),
    box-shadow var(--transition-base);
}
.nav-cta:hover,
.nav-cta:focus-visible {
  color: #ffffff;
  background: var(--ink);
  border-color: var(--ink);
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 6px 18px -2px rgb(31 51 51 / 22%);
}
.nav-cta:active {
  transform: translateY(0) scale(0.97);
  box-shadow: 0 2px 6px rgb(31 51 51 / 14%);
}

/* -------------------------------------------------------------
   Hero Section
   ------------------------------------------------------------- */
.hero {
  position: relative;
  display: grid;
  min-height: min(720px, calc(100vh - 76px));
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
  align-items: center;
  gap: 10%;
  padding-bottom: 40px;
}
.hero::before {
  position: absolute;
  top: 10%;
  right: -5%;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgb(183 203 189 / 35%) 0%, rgb(232 238 233 / 15%) 55%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
  z-index: -1;
  content: "";
}
.hero-copy {
  padding: 64px 0;
}
.eyebrow {
  margin: 0 0 18px;
  color: var(--coral-text);
  font: 700 0.74rem/1.2 var(--font-sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin-top: 0;
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.025em;
  font-feature-settings: "kern", "liga", "clig";
}
h1 {
  max-width: 720px;
  margin-bottom: 28px;
  font-size: clamp(3.5rem, 8vw, 7.2rem);
  letter-spacing: -0.04em;
}
h2 {
  margin-bottom: 20px;
  font-size: clamp(2.5rem, 5vw, 4.6rem);
  letter-spacing: -0.035em;
}
h3 {
  margin-bottom: 12px;
  font-size: 1.65rem;
}
.hero-lead {
  max-width: 510px;
  margin: 0 0 34px;
  color: var(--muted);
  font-size: 1.3rem;
  line-height: 1.55;
}
.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

/* -------------------------------------------------------------
   Interactive Buttons & Directional Links
   ------------------------------------------------------------- */
.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 15px 24px;
  border-radius: var(--radius-full);
  border: 1.5px solid transparent;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  user-select: none;
  transition:
    color var(--transition-base),
    background-color var(--transition-base),
    border-color var(--transition-base),
    transform var(--transition-base),
    box-shadow var(--transition-base);
}

.button span[aria-hidden="true"],
.text-link span[aria-hidden="true"] {
  display: inline-block;
  transition: transform 0.3s var(--ease-spring);
}

.button:hover span[aria-hidden="true"],
.button:focus-visible span[aria-hidden="true"] {
  transform: translate(3px, -3px);
}
.button:active {
  transform: translateY(1px) scale(0.97);
}

.button-primary {
  color: #ffffff;
  background: var(--ink);
  border-color: var(--ink);
  box-shadow: 0 6px 18px rgb(31 51 51 / 18%);
}
.button-primary:hover,
.button-primary:focus-visible {
  color: #ffffff;
  background: var(--ink-deep);
  border-color: var(--ink-deep);
  transform: translateY(-3px) scale(1.02);
  box-shadow:
    0 14px 32px -4px rgb(31 51 51 / 30%),
    0 0 0 2px rgb(200 83 60 / 22%);
}
.button-primary:active {
  transform: translateY(0) scale(0.97);
  box-shadow: 0 4px 12px rgb(31 51 51 / 20%);
}

.button-secondary {
  color: var(--ink);
  background: rgb(255 255 255 / 50%);
  border-color: var(--ink);
  box-shadow: var(--shadow-xs);
}
.button-secondary:hover,
.button-secondary:focus-visible {
  color: #ffffff;
  background: var(--ink);
  border-color: var(--ink);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 28px -4px rgb(31 51 51 / 22%);
}
.button-secondary:active {
  transform: translateY(0) scale(0.97);
}

.text-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
  color: var(--ink);
  padding: 4px 0;
  transition: color var(--transition-base), transform var(--transition-base);
}
.text-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: var(--coral-text);
  border-radius: var(--radius-full);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.32s var(--ease-out-expo);
}
.text-link:hover::after,
.text-link:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}
.text-link:hover,
.text-link:focus-visible {
  color: var(--coral-text);
  transform: translateY(-1px);
}
.text-link:active {
  transform: translateY(0);
}
.text-link[href*="jak-pomagam"]:hover span[aria-hidden="true"] {
  transform: translateY(4px);
}
.text-link[href*="kontakt"]:hover span[aria-hidden="true"],
.about-copy .text-link:hover span[aria-hidden="true"] {
  transform: translate(3px, -3px);
}

/* -------------------------------------------------------------
   Hero Note (Float & Interactive Rotation)
   ------------------------------------------------------------- */
.hero-note {
  position: relative;
  max-width: 310px;
  padding: 48px 36px 40px;
  border: 1px solid rgb(31 51 51 / 12%);
  border-radius: var(--radius-sm);
  background: linear-gradient(145deg, rgb(183 203 189 / 92%), rgb(200 216 205 / 85%));
  box-shadow: 0 18px 44px rgb(31 51 51 / 10%), 0 4px 12px rgb(31 51 51 / 5%);
  backdrop-filter: blur(10px);
  transform: rotate(2.5deg);
  cursor: default;
  transition:
    transform 0.45s var(--ease-spring),
    box-shadow 0.45s var(--ease-out-expo),
    border-color var(--transition-base);
}
.hero-note::after {
  position: absolute;
  right: -14px;
  bottom: -14px;
  width: 64px;
  height: 64px;
  border: 1.5px solid var(--coral);
  border-radius: 50%;
  content: "";
  pointer-events: none;
  transition:
    transform 0.5s var(--ease-spring),
    border-color var(--transition-base),
    box-shadow var(--transition-base);
}
.note-mark {
  display: block;
  height: 42px;
  color: var(--coral-text);
  font-size: 5rem;
  line-height: 0.8;
  transition: transform 0.45s var(--ease-spring), color var(--transition-base);
}
.hero-note p {
  margin: 0 0 22px;
  font-size: 1.65rem;
  line-height: 1.15;
}
.note-caption {
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.hero-note:hover {
  transform: rotate(0deg) translateY(-8px) scale(1.02);
  box-shadow:
    0 30px 65px -10px rgb(31 51 51 / 20%),
    0 0 0 1px rgb(200 83 60 / 22%);
  border-color: rgb(200 83 60 / 30%);
}
.hero-note:hover::after {
  transform: scale(1.18) rotate(15deg);
  border-color: var(--coral-hover);
  box-shadow: 0 0 18px rgb(200 83 60 / 25%);
}
.hero-note:hover .note-mark {
  transform: scale(1.12) rotate(-5deg);
  color: var(--coral);
}

/* -------------------------------------------------------------
   Seamless Section Flow & Background Transitions
   ------------------------------------------------------------- */
.section {
  position: relative;
  padding: clamp(90px, 10vw, 140px) 0;
  scroll-margin-top: 86px;
}

/* 1. "Jak pomagam" — Soft watercolor transition from paper to cream and back to paper */
.section-light {
  background: linear-gradient(
    180deg,
    var(--paper) 0%,
    rgb(234 240 235 / 80%) 90px,
    var(--cream) 160px,
    var(--cream) calc(100% - 140px),
    rgb(234 240 235 / 75%) calc(100% - 60px),
    var(--paper) 100%
  );
  overflow: hidden;
}

/* Subtle ambient radial highlights across "Jak pomagam" */
.section-light::before {
  content: "";
  position: absolute;
  top: -60px;
  left: 20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgb(183 203 189 / 22%) 0%, transparent 65%);
  filter: blur(80px);
  pointer-events: none;
}

.section-heading {
  max-width: 700px;
  margin-bottom: 54px;
}
.section-heading > p:last-child {
  max-width: 500px;
  color: var(--muted);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.service-card {
  position: relative;
  min-height: 280px;
  padding: 34px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgb(255 255 255 / 70%);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-sm);
  cursor: default;
  overflow: hidden;
  transition:
    background-color 0.35s var(--ease-out-expo),
    border-color 0.35s var(--ease-out-expo),
    transform 0.35s var(--ease-out-expo),
    box-shadow 0.35s var(--ease-out-expo);
}
.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--coral), var(--sage));
  opacity: 0.25;
  transform: scaleX(0.35);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out-expo), opacity 0.3s ease;
}
.service-card:hover::before {
  opacity: 1;
  transform: scaleX(1);
}
.service-card:hover {
  background: rgb(255 255 255 / 96%);
  border-color: rgb(200 83 60 / 35%);
  transform: translateY(-8px);
  box-shadow:
    0 24px 52px -10px rgb(31 51 51 / 15%),
    0 0 0 1px rgb(200 83 60 / 15%);
}

.service-number {
  display: inline-block;
  margin-bottom: 54px;
  color: var(--coral-text);
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  background: rgb(200 83 60 / 10%);
  transition:
    background-color 0.3s ease,
    color 0.3s ease,
    transform 0.3s var(--ease-spring),
    box-shadow 0.3s ease;
}
.service-card:hover .service-number {
  background: var(--coral);
  color: var(--paper);
  transform: scale(1.08) translateX(2px);
  box-shadow: 0 4px 12px rgb(200 83 60 / 25%);
}

.service-card h3 {
  transition: color 0.3s ease;
}
.service-card:hover h3 {
  color: var(--ink-deep);
}

.service-card p,
.about-copy > p,
.contact-details p,
.workshop-details > p:last-child {
  margin: 0;
  color: var(--muted);
}

/* 2. "O mnie" — Ambient aura & organic divider into workshops */
.about-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 12%;
  position: relative;
}

/* Ambient glow on the left behind Eliza's portrait */
.about-section::before {
  content: "";
  position: absolute;
  top: 15%;
  left: -8%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgb(183 203 189 / 24%) 0%, transparent 70%);
  filter: blur(70px);
  pointer-events: none;
  z-index: -1;
}

/* Delicate organic divider line between "O mnie" and "Warsztaty" */
.about-section::after {
  content: "";
  grid-column: 1 / -1;
  width: min(160px, 35%);
  height: 2px;
  margin: 60px auto 0;
  background: linear-gradient(90deg, transparent, rgb(200 83 60 / 30%), transparent);
  border-radius: var(--radius-full);
}

.about-photo {
  position: relative;
  display: grid;
  width: min(100%, 430px);
  aspect-ratio: 3 / 4;
  place-items: center;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid rgb(255 255 255 / 60%);
  background: var(--sage);
  box-shadow: 0 24px 60px rgb(31 51 51 / 14%), 0 6px 18px rgb(31 51 51 / 8%);
  transform: rotate(-2deg);
  cursor: pointer;
  transition:
    transform 0.5s var(--ease-spring),
    box-shadow 0.5s var(--ease-out-expo),
    border-color var(--transition-base);
}
.about-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgb(255 255 255 / 16%) 0%, transparent 60%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}
.about-photo picture {
  display: block;
  width: 100%;
  height: 100%;
}
.about-photo picture[hidden] {
  display: none;
}
.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  transition:
    transform 0.5s var(--ease-spring),
    filter 0.4s ease;
}
.about-photo:hover {
  transform: rotate(0deg) translateY(-6px) scale(1.02);
  border-color: rgb(200 83 60 / 35%);
  box-shadow:
    0 32px 72px -12px rgb(31 51 51 / 22%),
    0 0 0 1px rgb(200 83 60 / 22%);
}
.about-photo:hover::after {
  opacity: 1;
}
.about-photo:hover img {
  transform: scale(1.08);
  filter: contrast(1.03) brightness(1.02);
}

.about-photo-fallback {
  color: var(--paper);
  font: italic 7rem Georgia, serif;
}
.about-copy {
  max-width: 520px;
}
.about-copy > p {
  margin-bottom: 18px;
}
.about-copy .text-link {
  margin-top: 16px;
}

/* 3. "Warsztaty" — Soft layered gradient atmosphere */
.workshops-section {
  position: relative;
  z-index: 20;
  background: linear-gradient(
    180deg,
    var(--paper) 0%,
    rgb(234 240 235 / 45%) 30%,
    rgb(234 240 235 / 65%) 70%,
    var(--paper) 100%
  );
  overflow: visible;
  padding-bottom: 90px;
}

/* Subtle ambient warmth behind workshops calendar */
.workshops-section::before {
  content: "";
  position: absolute;
  top: 25%;
  right: -5%;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgb(200 83 60 / 9%) 0%, transparent 65%);
  filter: blur(70px);
  pointer-events: none;
}

.section-heading-row {
  display: flex;
  max-width: none;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}
.calendar-intro {
  max-width: 230px;
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  text-align: right;
}
.workshop-calendar {
  position: relative;
  z-index: 30;
  display: grid;
  gap: 18px;
}
.workshop-list {
  position: relative;
  z-index: 1;
  scroll-margin-top: 110px;
  min-height: 260px;
}
.workshop-empty {
  margin: 0;
  padding: 40px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-style: italic;
  font-size: 1.05rem;
}

.calendar-toolbar {
  position: relative;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  margin: 0 0 24px;
}
.calendar-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  background: rgb(255 255 255 / 65%);
  cursor: pointer;
  font: 700 0.95rem/1 var(--font-sans);
  transition:
    color var(--transition-fast),
    background-color var(--transition-fast),
    border-color var(--transition-fast),
    transform var(--transition-fast),
    box-shadow var(--transition-fast);
}
.calendar-arrow:hover,
.calendar-arrow:focus-visible {
  color: var(--coral-text);
  background: #ffffff;
  border-color: var(--coral);
  transform: scale(1.12);
  box-shadow: 0 6px 16px -2px rgb(200 83 60 / 25%);
}
.calendar-arrow:active {
  transform: scale(0.92);
}

.month-picker {
  position: relative;
  z-index: 50;
}
.calendar-month {
  position: relative;
  list-style: none;
  min-width: 175px;
  padding: 10px 34px 10px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-full);
  color: var(--ink);
  background: rgb(255 255 255 / 65%);
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition:
    border-color var(--transition-base),
    background-color var(--transition-base),
    color var(--transition-base),
    box-shadow var(--transition-base);
}
.calendar-month::-webkit-details-marker {
  display: none;
}
.calendar-month::marker {
  content: "";
}
.calendar-month::after {
  position: absolute;
  right: 14px;
  top: 50%;
  color: var(--coral-text);
  content: "⌄";
  font: 700 1.1rem/1 var(--font-sans);
  transform: translateY(-55%);
  transition: transform 0.28s var(--ease-out-expo);
}
.month-picker[open] .calendar-month::after {
  transform: translateY(-55%) rotate(180deg);
}
.calendar-month:hover {
  background: #ffffff;
  border-color: var(--coral);
  color: var(--coral-text);
  box-shadow: 0 4px 14px rgb(200 83 60 / 15%);
}
.calendar-month:focus-visible {
  border-color: var(--coral);
  outline: 2px solid var(--coral);
  outline-offset: 3px;
}

.month-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 1000;
  display: grid;
  width: 220px;
  max-height: min(440px, 75vh);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #ffffff;
  box-shadow: 0 20px 48px rgb(31 51 51 / 20%), 0 6px 16px rgb(31 51 51 / 10%);
  animation: menuFadeSlide 0.22s var(--ease-out-expo);
}
.month-menu::-webkit-scrollbar {
  width: 6px;
}
.month-menu::-webkit-scrollbar-track {
  background: transparent;
}
.month-menu::-webkit-scrollbar-thumb {
  background: var(--line);
  border-radius: var(--radius-full);
}
.month-menu::-webkit-scrollbar-thumb:hover {
  background: var(--muted);
}
@keyframes menuFadeSlide {
  from {
    opacity: 0;
    transform: translateY(-8px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
.month-option {
  padding: 8px 12px;
  border: 0;
  border-radius: var(--radius-sm);
  color: var(--ink);
  background: transparent;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-align: left;
  text-transform: uppercase;
  transition:
    color var(--transition-fast),
    background-color var(--transition-fast),
    transform var(--transition-fast);
}
.month-option:hover,
.month-option:focus-visible {
  color: var(--coral-text);
  background: var(--cream);
  transform: translateX(4px);
  outline: none;
}
.month-option[aria-selected="true"] {
  color: #ffffff;
  background: var(--coral);
  font-weight: 700;
}

.workshop-card {
  position: relative;
  display: grid;
  grid-template-columns: 100px 1fr auto;
  align-items: center;
  gap: 32px;
  padding: 32px;
  margin-bottom: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgb(255 255 255 / 80%);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  transition:
    border-color 0.3s var(--ease-out-expo),
    transform 0.3s var(--ease-out-expo),
    box-shadow 0.3s var(--ease-out-expo),
    background-color 0.3s ease;
}
.workshop-card:hover {
  background: #ffffff;
  border-color: rgb(200 83 60 / 45%);
  box-shadow: var(--shadow-hover);
  transform: translateY(-5px);
}

.workshop-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: rgb(234 240 235 / 75%);
  border: 1px solid rgb(183 203 189 / 40%);
  color: var(--coral-text);
  transition:
    transform 0.32s var(--ease-spring),
    background-color 0.3s ease,
    color 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}
.workshop-card:hover .workshop-date {
  background: var(--coral);
  border-color: var(--coral);
  color: #ffffff;
  transform: scale(1.06);
  box-shadow: 0 6px 16px rgb(200 83 60 / 25%);
}
.workshop-date strong {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 600;
  line-height: 1;
}
.workshop-date span {
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-top: 2px;
}

.workshop-label {
  margin: 0 0 10px;
  color: var(--coral-text);
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.workshop-capacity {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 12px 0 0;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  background: rgb(183 203 189 / 35%);
  color: #1e4530;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background-color var(--transition-base), transform var(--transition-base);
}
.workshop-card:hover .workshop-capacity {
  background: rgb(183 203 189 / 60%);
}

.workshop-closed {
  align-self: center;
  max-width: 150px;
  margin: 0;
  color: var(--muted);
  font: 700 0.68rem/1.3 var(--font-sans);
  letter-spacing: 0.06em;
  text-align: right;
  text-transform: uppercase;
}

.button-disabled {
  cursor: not-allowed;
  opacity: 0.55;
  pointer-events: auto;
}
.workshop-details h3 {
  margin-bottom: 8px;
}

.calendar-download-wrap {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
  text-align: center;
}
.calendar-download-wrap[hidden] {
  display: none;
}
.calendar-download-button {
  width: 100%;
  justify-content: center;
  font-size: 0.74rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* 4. "Kontakt" — Organic curved horizon arch transition */
.contact-section {
  position: relative;
  z-index: 10;
  padding: 150px 0 120px;
  color: var(--paper);
  background: var(--ink);
  scroll-margin-top: 76px;
  overflow: hidden;
}

/* Organic curved horizon arch that carves from the light paper into deep ink */
.contact-section::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 140%;
  height: 90px;
  background: var(--paper);
  border-radius: 0 0 50% 50% / 0 0 100% 100%;
  box-shadow: 0 12px 30px rgb(31 51 51 / 6%);
  pointer-events: none;
  z-index: 1;
}

/* Warm, tranquil ambient glow inside the dark contact section */
.contact-section::after {
  content: "";
  position: absolute;
  top: 60px;
  right: -10%;
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgb(200 83 60 / 16%) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.contact-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12%;
}
.contact-section h2 {
  max-width: 600px;
}
.contact-details {
  align-self: end;
}
.contact-details p {
  margin-bottom: 26px;
  color: rgb(247 245 239 / 75%);
}
.contact-links {
  display: grid;
  gap: 16px;
  margin-top: 10px;
}

.contact-email,
.contact-phone {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  color: var(--paper);
  text-decoration: none;
  transition:
    color var(--transition-base),
    transform var(--transition-base),
    text-shadow var(--transition-base);
}

.contact-email {
  font-size: clamp(1.2rem, 2.2vw, 1.8rem);
  font-weight: 400;
}
.contact-email span {
  display: inline-block;
  color: var(--coral);
  transition: transform 0.3s var(--ease-spring);
}
.contact-email:hover {
  color: var(--coral-hover);
  transform: translateX(4px);
  text-shadow: 0 0 24px rgb(200 83 60 / 40%);
}
.contact-email:hover span {
  transform: translate(5px, -5px);
}

.contact-phone {
  font-size: 1.25rem;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  border: 1px solid rgb(248 247 242 / 20%);
  background: rgb(248 247 242 / 6%);
  cursor: pointer;
  transition:
    background-color var(--transition-base),
    border-color var(--transition-base),
    color var(--transition-base),
    transform var(--transition-base),
    box-shadow var(--transition-base);
}
.contact-phone:hover {
  background: rgb(200 83 60 / 20%);
  border-color: var(--coral);
  color: #ffffff;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 20px rgb(200 83 60 / 25%);
}
.contact-phone:active {
  transform: translateY(0) scale(0.97);
}

.copy-badge {
  display: inline-block;
  color: var(--sage);
  font: 600 0.78rem/1.2 var(--font-sans);
  letter-spacing: 0.04em;
  margin-top: 4px;
}
.copy-badge:empty {
  display: none;
}

/* 5. Stopka — Seamlessly continues the deep ink theme from Contact */
.site-footer {
  padding: 38px 0;
  color: rgb(249 248 244 / 65%);
  background: var(--ink-deep);
  border-top: 1px solid rgb(255 255 255 / 10%);
  font-family: var(--font-sans);
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.footer-content {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
.footer-content a {
  position: relative;
  color: var(--paper);
  text-decoration: none;
  transition: color var(--transition-fast);
}
.footer-content a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: var(--coral);
  transform: scaleX(0);
  transition: transform var(--transition-base);
}
.footer-content a:hover::after {
  transform: scaleX(1);
}
.footer-content a:hover {
  color: var(--coral-hover);
}

/* -------------------------------------------------------------
   Privacy Page
   ------------------------------------------------------------- */
.signup-privacy-note {
  margin: -8px 0 0;
  color: var(--muted);
  font: 0.85rem/1.5 var(--font-sans);
}
.signup-privacy-note a {
  color: var(--ink);
  text-decoration-color: var(--coral-text);
  text-underline-offset: 3px;
  transition: color var(--transition-fast), text-decoration-color var(--transition-fast);
}
.signup-privacy-note a:hover {
  color: var(--coral-text);
}

.privacy-page {
  max-width: 900px;
  padding-block: clamp(48px, 8vw, 100px);
}
.privacy-page h1 {
  margin-bottom: 12px;
  font-size: clamp(2.4rem, 6vw, 4.5rem);
}
.privacy-page h2 {
  margin: 38px 0 10px;
  font-size: clamp(1.45rem, 3vw, 2rem);
}
.privacy-page p,
.privacy-page li {
  color: var(--muted);
}
.privacy-page .privacy-updated {
  margin-top: 0;
  font: 0.85rem var(--font-sans);
}
.privacy-page .text-link:hover span {
  transform: translateX(-4px);
}
.privacy-page a:not(.text-link) {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--coral-text);
  text-underline-offset: 3px;
  transition: color var(--transition-fast);
}
.privacy-page a:not(.text-link):hover {
  color: var(--coral-text);
}

/* -------------------------------------------------------------
   Interactive Signup Modal Dialog
   ------------------------------------------------------------- */
.signup-dialog {
  width: min(540px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  color: var(--ink);
  background: var(--paper);
  box-shadow: 0 30px 80px rgb(31 51 51 / 22%), 0 8px 24px rgb(31 51 51 / 10%);
}
.signup-dialog[open] {
  animation: dialogScaleIn 0.32s var(--ease-out-expo);
}
@keyframes dialogScaleIn {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(14px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}
.signup-dialog::backdrop {
  background: rgb(24 38 38 / 55%);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: backdropFadeIn 0.28s ease;
}
@keyframes backdropFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.signup-dialog-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}
.signup-dialog h2 {
  margin-bottom: 10px;
  font-size: clamp(2rem, 5vw, 3.2rem);
}
.signup-dialog-header > div > p:last-child {
  margin: 0;
  color: var(--muted);
}

.dialog-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font-size: 1.9rem;
  line-height: 1;
  transition:
    color var(--transition-fast),
    background-color var(--transition-fast),
    transform 0.3s var(--ease-spring);
}
.dialog-close:hover,
.dialog-close:focus-visible {
  color: var(--coral-text);
  background: rgb(200 83 60 / 14%);
  transform: rotate(90deg) scale(1.15);
}
.dialog-close:active {
  transform: rotate(90deg) scale(0.95);
}

.signup-form {
  display: grid;
  gap: 20px;
  margin-top: 28px;
}
.signup-form label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color var(--transition-fast);
}
.signup-form label:focus-within {
  color: var(--coral-text);
}
.signup-form input {
  width: 100%;
  padding: 12px 0;
  border: 0;
  border-bottom: 1.5px solid var(--line);
  color: var(--ink);
  background: transparent;
  font-family: var(--font-serif);
  font-size: 1rem;
  letter-spacing: normal;
  text-transform: none;
  transition:
    border-bottom-color var(--transition-fast),
    box-shadow var(--transition-fast);
}
.signup-form input:focus {
  border-bottom-color: var(--coral);
  box-shadow: 0 2px 0 var(--coral);
  outline: none;
}
.signup-form input[aria-invalid="true"] {
  border-bottom-color: var(--coral);
  box-shadow: 0 2px 0 rgb(200 83 60 / 25%);
}
.signup-form input::placeholder {
  color: rgb(86 104 101 / 60%);
}

.signup-form .remember-signup-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--muted);
  font-family: var(--font-serif);
  font-size: 0.85rem;
  line-height: 1.4;
  letter-spacing: 0;
  text-transform: none;
  cursor: pointer;
}
.signup-form .remember-signup-label input[type="checkbox"] {
  width: 19px;
  height: 19px;
  flex: 0 0 19px;
  margin: 1px 0 0;
  padding: 0;
  accent-color: var(--coral);
  cursor: pointer;
  transition: transform var(--transition-fast);
}
.signup-form .remember-signup-label:hover input[type="checkbox"] {
  transform: scale(1.15);
}

.signup-form .remember-clear {
  justify-self: start;
  padding: 0;
  border: 0;
  color: var(--coral-text);
  background: transparent;
  cursor: pointer;
  font-size: 0.85rem;
  text-decoration: underline;
  transition: color var(--transition-fast);
}
.signup-form .remember-clear:hover {
  color: var(--coral);
}
.signup-form .remember-clear[hidden] {
  display: none;
}

.signup-form .button {
  justify-content: center;
  border: 0;
  cursor: pointer;
  margin-top: 6px;
}
.signup-form .button:disabled {
  cursor: default;
  opacity: 0.6;
}
.signup-success {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.cookie-button:hover,
.cookie-button:focus-visible {
  border-color: var(--coral);
  outline: none;
}

/* -------------------------------------------------------------
   Responsive Breakpoints
   ------------------------------------------------------------- */
@media (max-width: 800px) {
  .container {
    width: min(100% - 40px, var(--max-width));
  }
  .site-nav {
    min-height: auto;
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
    padding: 18px 0;
  }
  .nav-links {
    width: 100%;
    justify-content: space-between;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 2px;
    font-size: 0.72rem;
    scrollbar-width: none;
  }
  .nav-links::-webkit-scrollbar {
    display: none;
  }
  .nav-cta {
    padding: 8px 12px;
  }
  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 54px;
    padding-top: 72px;
    padding-bottom: 90px;
  }
  .hero-copy {
    padding: 0;
  }
  h1 {
    font-size: clamp(3.4rem, 16vw, 5rem);
  }
  .hero-note {
    width: min(100%, 320px);
    justify-self: end;
  }
  .section {
    padding: 80px 0;
  }
  .service-grid,
  .about-section,
  .contact-content {
    grid-template-columns: 1fr;
    gap: 42px;
  }
  .service-card {
    min-height: auto;
    padding: 26px 22px;
  }
  .service-number {
    margin-bottom: 30px;
  }
  .about-photo {
    width: min(100%, 300px);
  }
  .about-section::after {
    margin-top: 40px;
  }
  .contact-section {
    padding: 120px 0 90px;
  }
  .contact-section::before {
    height: 60px;
    width: 160%;
  }
  .section-heading-row {
    align-items: flex-start;
    flex-direction: column;
  }
  .calendar-intro {
    text-align: left;
  }
  .workshop-card {
    grid-template-columns: 70px 1fr;
    gap: 20px;
    padding: 22px;
  }

  .calendar-toolbar {
    justify-content: space-between;
  }

  .button {
    min-height: 44px;
  }
  .workshop-card .button {
    grid-column: 1 / -1;
    justify-content: center;
  }
  .workshop-closed {
    grid-column: 1 / -1;
    max-width: none;
    text-align: center;
  }
  .footer-content {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .container {
    width: min(100% - 32px, var(--max-width));
  }

  .hero {
    gap: 42px;
    padding-top: 56px;
    padding-bottom: 72px;
  }

  h1 {
    font-size: clamp(3rem, 15vw, 4.2rem);
  }

  .hero-lead {
    font-size: 1.1rem;
  }

  .hero-note {
    justify-self: stretch;
    max-width: none;
    padding: 38px 28px 32px;
  }

  .contact-section::before {
    height: 45px;
    width: 180%;
  }

  .signup-dialog {
    width: calc(100% - 20px);
    padding: 28px 20px;
  }

  .signup-dialog-header {
    gap: 10px;
  }

  .signup-dialog h2 {
    font-size: 2.2rem;
  }

  .dialog-close {
    min-width: 44px;
    min-height: 44px;
  }

  .calendar-toolbar {
    gap: 8px;
  }

  .calendar-month {
    min-width: 140px;
    padding: 8px 30px 8px 12px;
    font-size: 0.72rem;
  }

  .month-menu {
    width: 190px;
    max-height: min(360px, 60vh);
  }
}

/* -------------------------------------------------------------
   Print Media Query
   ------------------------------------------------------------- */
@media print {
  .site-header,
  .build-version,
  .skip-link,
  .hero-actions,
  .signup-dialog,
  .dialog-close,
  .calendar-toolbar,
  .calendar-download-wrap,
  .contact-section::before {
    display: none !important;
  }

  body {
    background: #fff;
    color: #111;
    font-size: 14pt;
  }

  .container {
    width: 100%;
    max-width: none;
  }
}

/* -------------------------------------------------------------
   Reduced Motion Accessibility
   ------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .hero-note,
  .about-photo {
    transform: none !important;
  }
}
