/* tools.womeninc.nl — editorial, calm professional (aligned with womeninc.nl tone) */
:root {
  --ink: #1c1b19;
  --ink-muted: #4a4845;
  --paper: #faf8f5;
  --paper-2: #f0ebe4;
  --line: #d9d3ca;
  --accent: #9c3d3d;
  --accent-soft: #c4706a;
  --accent-bg: rgba(156, 61, 61, 0.08);
  --teal: #2d5a58;
  --teal-soft: rgba(45, 90, 88, 0.12);
  --radius: 2px;
  --shadow: 0 12px 40px rgba(28, 27, 25, 0.08);
  --font-display: "Cormorant Garamond", "Georgia", serif;
  --font-body: "IBM Plex Sans", system-ui, sans-serif;
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.75rem;
  --space-lg: 3rem;
  --space-xl: 5rem;
  --max: 72rem;
  --header-h: 4.25rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--ink);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 1000;
  padding: var(--space-sm) var(--space-md);
  background: var(--ink);
  color: var(--paper);
}

.skip-link:focus {
  left: var(--space-sm);
  top: var(--space-sm);
}

.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;
}

.benefit-strong {
  color: var(--ink);
  font-weight: 600;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--space-md);
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: inherit;
}

.logo-link:hover {
  color: var(--accent);
}

.logo-link img {
  width: auto;
  height: 2.25rem;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 0.5rem 0.75rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  cursor: pointer;
  border-radius: var(--radius);
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.25rem;
  align-items: center;
}

.site-nav a {
  color: var(--ink-muted);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--accent);
}

.nav-cta {
  margin-left: 0.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.65rem 1.25rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--ink);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}

.btn-ghost:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.hero-banner-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 21 / 8;
  min-height: 200px;
  max-height: 420px;
  overflow: hidden;
  background: var(--paper-2);
}

.hero-banner-wrap picture {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-banner-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(28, 27, 25, 0.72) 0%,
    rgba(28, 27, 25, 0.35) 55%,
    transparent 100%
  );
  pointer-events: none;
}

.hero {
  position: relative;
  margin-top: calc(-1 * min(28vw, 200px));
  padding-bottom: var(--space-xl);
}

.hero .hero-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--space-md);
  position: relative;
}

.hero-card {
  max-width: 38rem;
  background: var(--paper);
  padding: var(--space-lg) var(--space-md);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero-kicker {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 var(--space-sm);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  font-weight: 600;
  line-height: 1.12;
  margin: 0 0 var(--space-md);
  color: var(--ink);
}

.hero-lead {
  font-size: 1.125rem;
  color: var(--ink-muted);
  margin: 0 0 var(--space-md);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  align-items: center;
}

.section {
  padding: var(--space-xl) var(--space-md);
}

.section-alt {
  background: var(--paper-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.section-head {
  max-width: 40rem;
  margin-bottom: var(--space-lg);
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.5vw, 2.5rem);
  font-weight: 600;
  margin: 0 0 var(--space-sm);
  line-height: 1.2;
}

.section-head p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 1.0625rem;
}

.section-head code {
  font-size: 0.9em;
  padding: 0.1em 0.35em;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.grid-2 {
  display: grid;
  gap: var(--space-lg);
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .grid-2 {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

.grid-3 {
  display: grid;
  gap: var(--space-md);
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.card:hover {
  border-color: color-mix(in srgb, var(--accent) 35%, var(--line));
  box-shadow: var(--shadow);
}

.card h3 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  margin: 0 0 var(--space-xs);
}

.card p {
  margin: 0 0 var(--space-sm);
  color: var(--ink-muted);
  flex: 1;
  font-size: 1rem;
}

.card-link {
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  color: var(--accent);
}

.card-link:hover {
  color: var(--ink);
}

.tool-pill {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal);
  background: var(--teal-soft);
  padding: 0.25rem 0.5rem;
  margin-bottom: var(--space-sm);
  border-radius: var(--radius);
}

.benefits-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.benefits-list li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: var(--space-sm);
  color: var(--ink-muted);
}

.benefits-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.55rem;
  height: 0.55rem;
  background: var(--accent);
  border-radius: 1px;
}

.category-strip {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.category-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 1.1rem;
  background: var(--paper);
  border: 1px solid var(--line);
  text-decoration: none;
  color: var(--ink);
  font-weight: 500;
  font-size: 0.9375rem;
  border-radius: var(--radius);
}

.category-chip:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.cta-block {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto;
}

.cta-block h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin: 0 0 var(--space-sm);
}

.cta-block p {
  color: var(--ink-muted);
  margin: 0 0 var(--space-md);
}

.site-footer {
  background: var(--ink);
  color: color-mix(in srgb, var(--paper) 78%, transparent);
  padding: var(--space-lg) var(--space-md);
  font-size: 0.9375rem;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: var(--space-lg);
}

@media (min-width: 768px) and (max-width: 1023px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .footer-inner {
    grid-template-columns: 1.2fr 1fr 1fr 1fr;
  }
}

.footer-brand strong {
  color: var(--paper);
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
}

.footer-brand p {
  margin: var(--space-sm) 0 0;
  line-height: 1.55;
}

.footer-col h3 {
  color: var(--paper);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0 0 var(--space-sm);
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col li {
  margin-bottom: 0.5rem;
}

.footer-col a {
  color: inherit;
  text-decoration: none;
}

.footer-col a:hover {
  color: #fff;
}

.footer-base {
  max-width: var(--max);
  margin: var(--space-lg) auto 0;
  padding-top: var(--space-md);
  border-top: 1px solid color-mix(in srgb, var(--paper) 18%, transparent);
  font-size: 0.875rem;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  justify-content: space-between;
}

.footer-base a {
  color: inherit;
}

/* Article / subpage */
.page-hero {
  padding-top: var(--space-md);
}

.page-hero .hero-banner-wrap {
  border-bottom: 1px solid var(--line);
}

.page-hero .hero-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: var(--space-lg) var(--space-md) 0;
}

.breadcrumbs {
  font-size: 0.875rem;
  margin-bottom: var(--space-sm);
  color: var(--ink-muted);
}

.breadcrumbs a {
  color: var(--ink-muted);
  text-decoration: none;
}

.breadcrumbs a:hover {
  color: var(--accent);
}

.article-body {
  max-width: 42rem;
  margin: 0 auto;
  padding: var(--space-lg) var(--space-md) var(--space-xl);
}

.article-body h2 {
  font-family: var(--font-display);
  font-size: 1.65rem;
  margin: var(--space-lg) 0 var(--space-sm);
  line-height: 1.25;
}

.article-body h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: var(--space-md) 0 var(--space-xs);
}

.article-body p {
  margin: 0 0 var(--space-md);
  color: var(--ink-muted);
}

.related-grid {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--space-md) var(--space-xl);
}

.related-grid h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin: 0 0 var(--space-md);
}

@media (max-width: 900px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: var(--space-md);
    display: none;
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-cta {
    margin-left: 0;
    margin-top: var(--space-sm);
  }
}
