/* ============================================================================
 * THE HOLLAND CLINIC — WORKSHOPS — Site Styles
 * Mobile first. Used across all workshop pages.
 * ============================================================================ */

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; }
img, picture, svg { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--c-highlight); outline-offset: 3px; border-radius: 2px; }

/* --- Base typography --- */
body {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--c-text);
  background: var(--c-bg);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 500;
  color: var(--c-accent);
  margin: 0 0 var(--s-4);
  line-height: 1.15;
  letter-spacing: -0.005em;
}

h1 { font-size: var(--fs-4xl); }
h2 { font-size: var(--fs-3xl); }
h3 { font-size: var(--fs-2xl); }
h4 { font-size: var(--fs-xl); }

p {
  margin: 0 0 var(--s-4);
  max-width: 64ch;
}

a {
  color: var(--c-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: color var(--dur-fast) var(--ease);
}
a:hover { color: var(--thc-teal-80); }

/* --- Layout primitives --- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--pad-x-mobile);
}

.container-narrow {
  width: 100%;
  max-width: var(--container-narrow);
  margin-inline: auto;
  padding-inline: var(--pad-x-mobile);
}

@media (min-width: 768px) {
  .container,
  .container-narrow { padding-inline: var(--pad-x-desktop); }
}

.section {
  padding-block: var(--s-9);
}

@media (min-width: 768px) {
  .section { padding-block: var(--s-10); }
}

.section-cream     { background: var(--thc-cream); }
.section-white     { background: var(--thc-white); }
.section-teal      { background: var(--thc-teal); color: var(--c-text-inverse); }
.section-sage-20   { background: var(--thc-sage-20); }
.section-sage-40   { background: var(--thc-sage-40); }

.section-teal h1,
.section-teal h2,
.section-teal h3,
.section-teal h4 { color: var(--thc-cream); }

/* --- Eyebrow label --- */
.eyebrow {
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--c-text-muted);
  margin-bottom: var(--s-3);
}

.section-teal .eyebrow { color: var(--thc-sage); }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  min-height: 52px;
  padding: var(--s-3) var(--s-6);
  font-family: var(--font-body);
  font-size: var(--fs-base);
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  border: 1.5px solid transparent;
  border-radius: var(--r-md);
  cursor: pointer;
  transition: transform var(--dur-fast) var(--ease),
              background var(--dur-fast) var(--ease),
              color var(--dur-fast) var(--ease),
              border-color var(--dur-fast) var(--ease);
}

.btn-primary {
  background: var(--thc-teal);
  color: var(--thc-cream);
  border-color: var(--thc-teal);
}
.btn-primary:hover { background: var(--thc-teal-80); border-color: var(--thc-teal-80); color: var(--thc-cream); }

.btn-secondary {
  background: transparent;
  color: var(--thc-teal);
  border-color: var(--thc-teal);
}
.btn-secondary:hover { background: var(--thc-teal); color: var(--thc-cream); }

.btn-on-dark {
  background: var(--thc-cream);
  color: var(--thc-teal);
  border-color: var(--thc-cream);
}
.btn-on-dark:hover { background: var(--thc-white); border-color: var(--thc-white); }

/* --- Header --- */
.site-header {
  padding: var(--s-4) 0;
  background: var(--thc-cream);
  border-bottom: 1px solid var(--c-divider);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
}

.site-header__brand {
  font-family: var(--font-head);
  font-size: var(--fs-lg);
  font-weight: 500;
  color: var(--thc-teal);
  text-decoration: none;
  letter-spacing: 0.01em;
}

.site-header__nav {
  display: flex;
  gap: var(--s-5);
}

.site-header__nav a {
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  color: var(--c-text);
  text-decoration: none;
  font-weight: 500;
}
.site-header__nav a:hover { color: var(--thc-teal); }

/* --- Footer --- */
.site-footer {
  background: var(--thc-teal);
  color: var(--thc-cream);
  padding: var(--s-7) 0;
  font-size: var(--fs-sm);
}

.site-footer a { color: var(--thc-cream); }

.site-footer__inner {
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  align-items: center;
  text-align: center;
}

@media (min-width: 768px) {
  .site-footer__inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

/* --- Workshop card (used on catalogue) --- */
.workshop-card {
  display: block;
  background: var(--thc-white);
  border: 1px solid var(--c-divider);
  border-radius: var(--r-lg);
  padding: var(--s-6);
  text-decoration: none;
  color: inherit;
  transition: transform var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease),
              border-color var(--dur) var(--ease);
}

.workshop-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--thc-teal-40);
}

.workshop-card__meta {
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--thc-teal);
  margin-bottom: var(--s-3);
}

.workshop-card__title {
  font-family: var(--font-head);
  font-size: var(--fs-2xl);
  color: var(--thc-teal);
  margin: 0 0 var(--s-3);
  line-height: 1.2;
}

.workshop-card__desc {
  color: var(--c-text-muted);
  margin-bottom: var(--s-4);
}

.workshop-card__cta {
  font-weight: 600;
  color: var(--thc-teal);
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* --- Hero (catalogue) --- */
.hero-catalogue {
  padding-block: var(--s-9) var(--s-8);
  text-align: center;
}

.hero-catalogue h1 {
  font-size: var(--fs-4xl);
  margin-bottom: var(--s-4);
}

.hero-catalogue p {
  font-size: var(--fs-lg);
  color: var(--c-text-muted);
  margin-inline: auto;
}

@media (min-width: 768px) {
  .hero-catalogue { padding-block: var(--s-10) var(--s-9); }
  .hero-catalogue h1 { font-size: var(--fs-5xl); }
}

/* --- Workshop grid --- */
.workshop-grid {
  display: grid;
  gap: var(--s-5);
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .workshop-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .workshop-grid { grid-template-columns: repeat(3, 1fr); }
}

/* --- Status pill --- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  padding: 0.3em 0.8em;
  border-radius: 999px;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.pill-upcoming { background: var(--thc-sage-40); color: var(--thc-teal); }
.pill-soon     { background: var(--thc-magenta-20); color: var(--thc-teal); }
.pill-archive  { background: var(--thc-teal-20); color: var(--thc-teal); }

/* --- Utility --- */
.text-center { text-align: center; }
.mt-0  { margin-top: 0; }
.mt-4  { margin-top: var(--s-4); }
.mt-6  { margin-top: var(--s-6); }
.mb-0  { margin-bottom: 0; }
.mb-4  { margin-bottom: var(--s-4); }
.mb-6  { margin-bottom: var(--s-6); }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
