/* =============================================
   MAIN STYLESHEET — marcelopereira.me
   Imports Mediation Design tokens from tokens.css
   ============================================= */

@import url('tokens.css');

/* ===== RESET & BASE ===== */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  scrollbar-gutter: stable;
}

body {
  font-family: var(--font-body);
  font-weight: 300;
  background-color: var(--linen);
  color: var(--foundation);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ===== TYPOGRAPHY SCALE ===== */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
}

/* Banners */
.b1 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(36px, 6vw, 72px);
  line-height: 0.9;
  letter-spacing: -0.01em;
}

.b2 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(28px, 4.5vw, 56px);
  line-height: 0.95;
  letter-spacing: -0.005em;
}

/* Headings */
.h0 { font-size: clamp(28px, 4vw, 44px); line-height: 1.1; letter-spacing: -0.005em; }
.h1 { font-size: clamp(24px, 3vw, 36px); line-height: 1.15; letter-spacing: -0.0025em; }
.h2 { font-size: clamp(20px, 2.5vw, 28px); line-height: 1.2; }
.h2-medium { font-size: clamp(20px, 2.5vw, 28px); line-height: 1.2; font-weight: 500; font-style: italic; }
.h3 { font-size: 22px; line-height: 1.25; }
.h3-medium { font-size: 22px; line-height: 1.25; font-weight: 500; }
.h4 { font-size: 18px; line-height: 1.3; font-weight: 500; font-style: italic; }
.h5 { font-size: 16px; line-height: 1.3; font-weight: 500; }
.h6 { font-size: 14px; line-height: 1.3; font-weight: 500; letter-spacing: 0.01em; }

/* Paragraphs */
.p1 { font-size: 17px; line-height: 1.7; font-weight: 300; }
.p2 { font-size: 15px; line-height: 1.6; font-weight: 300; }
.p3 { font-size: 13px; line-height: 1.5; font-weight: 300; letter-spacing: 0.01em; }
.p4 { font-size: 12px; line-height: 1.5; font-weight: 300; letter-spacing: 0.01em; }

/* Overline (replaces caption-2) */
.caption-2 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 11px;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Labels */
.caption-1 {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  line-height: 1.2;
  letter-spacing: 0;
}

.caption-3 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0.01em;
}

/* ===== LINKS ===== */

a {
  color: var(--catalyst);
  text-decoration: none;
  transition: color var(--transition-fast), text-decoration-color var(--transition-fast);
}

a:hover {
  text-decoration: underline;
}

a:visited {
  color: var(--catalyst-dark);
}

/* ===== LAYOUT ===== */

.container {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.section {
  padding: var(--space-4xl) 0;
}

.grid {
  display: grid;
  gap: var(--space-lg);
}

.grid-2 { grid-template-columns: 1fr 1fr; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

/* ===== HEADER ===== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-fixed-header);
  background: var(--white);
  transition: box-shadow var(--transition-base);
}

.site-header.scrolled {
  box-shadow: var(--shadow-header);
}

.header-inner {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  position: relative;
  z-index: 1;
}

/* Brand */
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand .logo-mark { flex-shrink: 0; }

.brand .brand-text {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 24px;
  color: var(--foundation);
  letter-spacing: -0.02em;
}

.brand:hover { text-decoration: none; }
.brand:hover .brand-text { color: var(--foundation); }
.brand:visited .brand-text { color: var(--foundation); }
.brand .brand-text span {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--catalyst);
  color: transparent;
  overflow: hidden;
  vertical-align: baseline;
  margin: 0 1px;
  position: relative;
  top: -2px;
  font-size: 0;
  line-height: 0;
}

/* Desktop navigation */
.nav-desktop {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.nav-desktop > a {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.01em;
  color: var(--clay);
  text-decoration: none;
  padding: var(--space-sm) 0;
  position: relative;
  transition: color var(--transition-fast);
}

.nav-desktop > a:visited { color: var(--clay); }

.nav-desktop > a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--catalyst);
  transition: width var(--transition-base);
}

.nav-desktop > a:hover {
  color: var(--catalyst);
  text-decoration: none;
}

.nav-desktop > a:hover::after { width: 100%; }

/* Mobile toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-sm);
  color: var(--foundation);
}

.nav-toggle svg { width: 28px; height: 28px; }

/* Mobile nav backdrop overlay */
.nav-backdrop {
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(28, 22, 16, 0.4);
  z-index: calc(var(--z-sidebar) - 1);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--motion-moderate) var(--ease-out), visibility 0s linear var(--motion-moderate);
}

.nav-backdrop.open {
  opacity: 1;
  visibility: visible;
  transition: opacity var(--motion-moderate) var(--ease-out), visibility 0s linear 0s;
}

/* Mobile nav slide-out panel (right side) */
.nav-mobile {
  position: fixed;
  top: var(--header-height);
  right: 0;
  bottom: 0;
  width: 280px;
  max-width: 80vw;
  background: var(--sand);
  z-index: var(--z-sidebar);
  padding: var(--space-xl) var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform var(--motion-moderate) var(--ease-out), visibility 0s linear var(--motion-moderate);
  visibility: hidden;
}

.nav-mobile.open {
  transform: translateX(0);
  visibility: visible;
  transition: transform var(--motion-moderate) var(--ease-out), visibility 0s linear 0s;
}

.nav-mobile:focus {
  outline: none;
  box-shadow: none;
}

.nav-mobile a {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 18px;
  letter-spacing: 0.01em;
  color: var(--clay);
  text-decoration: none;
  padding: var(--space-md) 0;
  transition: color var(--transition-fast);
}

.nav-mobile a:visited { color: var(--clay); }
.nav-mobile a:hover { color: var(--catalyst); }

/* ===== LANGUAGE SELECTOR ===== */

.lang-selector {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: var(--space-lg);
  padding: 5px 6px 5px 10px;
  border-radius: var(--border-radius-md);
  background: var(--sand);
}

.lang-selector svg {
  width: 16px;
  height: 16px;
  color: var(--clay);
  flex-shrink: 0;
}

.lang-option {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.02em;
  padding: 6px 16px;
  border-radius: var(--border-radius-md);
  color: var(--clay);
  text-decoration: none;
  transition: color var(--transition-fast), background var(--transition-fast);
  line-height: 1;
  display: inline-block;
  min-width: 40px;
  text-align: center;
}

.lang-option:visited { color: var(--clay); }
.lang-option:hover {
  color: var(--catalyst);
  text-decoration: none;
}

.lang-option.active {
  background: var(--catalyst);
  color: var(--white);
}

.lang-option.active:visited { color: var(--white); }
.lang-option.active:hover {
  background: var(--catalyst);
  color: var(--white);
  text-decoration: none;
}

.nav-mobile .lang-selector {
  margin-left: 0;
  margin-top: var(--space-lg);
  align-self: flex-start;
}

/* ===== HERO ===== */

.hero {
  margin-top: var(--header-height);
  padding: var(--space-4xl) 0 var(--space-3xl);
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.hero-text .caption-2 {
  color: var(--catalyst);
  margin-bottom: var(--space-md);
}

.hero-text .b1 {
  color: var(--foundation);
  margin-bottom: var(--space-lg);
}

.hero-text .p1 {
  color: var(--clay);
  max-width: 560px;
  margin-bottom: var(--space-xl);
}

/* CTA button */
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  color: var(--white);
  background: var(--catalyst);
  padding: 10px 20px;
  border-radius: var(--border-radius-md);
  text-decoration: none;
  transition: background var(--transition-fast), transform var(--transition-fast);
}

.hero-cta:hover {
  background: var(--catalyst-dark);
  text-decoration: none;
  transform: translateY(-1px);
}

.hero-cta:visited { color: var(--white); }

/* Hero visual */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-photo {
  width: 100%;
  max-width: 480px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--border-radius-xl);
}

.hero-photo-placeholder {
  width: 100%;
  max-width: 480px;
  aspect-ratio: 4 / 5;
  border-radius: var(--border-radius-xl);
  background: linear-gradient(135deg, var(--sand) 0%, var(--limestone) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

/* Mediation motif decoration on placeholder */
.hero-photo-placeholder::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -20%;
  width: 80%;
  height: 80%;
  background: var(--catalyst);
  opacity: 0.12;
  transform: rotate(25deg);
  border-radius: var(--border-radius-lg);
}

.hero-photo-placeholder::after {
  content: '';
  position: absolute;
  bottom: -10%;
  left: -10%;
  width: 60%;
  height: 60%;
  background: var(--maturation);
  opacity: 0.10;
  transform: rotate(-15deg);
  border-radius: var(--border-radius-lg);
}

.photo-label {
  position: relative;
  z-index: 1;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 14px;
  color: var(--clay);
  text-align: center;
  padding: var(--space-lg);
}

/* ===== ROLES STRIP ===== */

.roles-strip {
  background: var(--foundation);
  padding: var(--space-2xl) 0;
}

.roles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.role-item {
  text-align: center;
  padding: var(--space-lg);
}

.role-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto var(--space-md);
  border-radius: var(--border-radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.role-icon svg { width: 24px; height: 24px; }

.role-icon.catalyst { background: var(--catalyst); }
.role-icon.maturation { background: var(--maturation); }
.role-icon.perspective { background: var(--perspective); }

.role-item h3 {
  color: var(--white);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: var(--space-sm);
}

.role-item p {
  color: var(--limestone);
  font-size: 15px;
  line-height: 1.5;
  font-weight: 300;
}

/* ===== ABOUT ===== */

.about { background: var(--linen); }

.about-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--space-3xl);
  align-items: start;
}

.about-text .h1 {
  color: var(--foundation);
  margin-bottom: var(--space-xl);
}

.about-text .p1 {
  color: var(--clay);
  margin-bottom: var(--space-lg);
  max-width: var(--prose-max-width);
}

.about-sidebar {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

/* Info cards (sidebar) — shadows, no borders */
.info-card {
  background: var(--white);
  box-shadow: var(--shadow-card);
  border-radius: var(--border-radius-lg);
  padding: var(--space-lg);
  transition: box-shadow var(--transition-fast);
}

.info-card:hover {
  box-shadow: var(--shadow-elevated);
}

.info-card .caption-2 {
  color: var(--clay);
  margin-bottom: var(--space-sm);
}

.info-card h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 18px;
  color: var(--foundation);
  margin-bottom: var(--space-xs);
}

.info-card p {
  font-size: 15px;
  line-height: 1.5;
  color: var(--clay);
}

.info-card a {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  margin-top: var(--space-md);
  color: var(--catalyst);
}

/* ===== EXPERTISE CARDS ===== */

.expertise { background: var(--sand); }

.section-header {
  margin-bottom: var(--space-2xl);
}

.section-header .caption-2 {
  color: var(--catalyst);
  margin-bottom: var(--space-sm);
}

.section-header .h1 {
  color: var(--foundation);
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

/* Card base */
.card {
  border-radius: var(--border-radius-lg);
  padding: var(--space-xl);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-elevated);
}

/* Card color variants */
.card-catalyst { background: var(--catalyst); color: var(--white); }
.card-maturation { background: var(--maturation); color: var(--foundation); }
.card-perspective { background: var(--perspective); color: var(--white); }
.card-craft { background: var(--craft); color: var(--white); }
.card-foundation { background: var(--foundation); color: var(--white); }
.card-white { background: var(--white); color: var(--foundation); box-shadow: var(--shadow-card); }

.card h3 {
  font-weight: 600;
  font-size: 22px;
  margin-bottom: var(--space-md);
}

.card p {
  font-size: 15px;
  line-height: 1.5;
  opacity: 0.9;
}

.card-arrow {
  position: absolute;
  top: var(--space-lg);
  right: var(--space-lg);
  font-size: 20px;
  opacity: 0.6;
}

/* ===== TEACHING SECTION ===== */

.teaching { background: var(--linen); }

.teaching-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--space-3xl);
  align-items: start;
}

.teaching-intro .h1 {
  color: var(--foundation);
  margin-bottom: var(--space-lg);
}

.teaching-intro .p1 {
  color: var(--clay);
  margin-bottom: var(--space-xl);
}

/* Course items — shadows, no borders */
.courses-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.course-item {
  background: var(--white);
  box-shadow: var(--shadow-card);
  border-radius: var(--border-radius-lg);
  padding: var(--space-lg);
  display: flex;
  align-items: flex-start;
  gap: var(--space-lg);
  transition: box-shadow var(--transition-fast), transform var(--transition-fast);
}

.course-item:hover {
  box-shadow: var(--shadow-elevated);
  transform: translateY(-1px);
}

.course-tag {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.02em;
  padding: 4px 10px;
  border-radius: var(--border-radius-md);
  white-space: nowrap;
  flex-shrink: 0;
}

.tag-catalyst { background: rgba(196, 92, 42, 0.12); color: var(--catalyst-dark); }
.tag-perspective { background: rgba(40, 104, 120, 0.12); color: var(--perspective-dark); }
.tag-craft { background: rgba(124, 84, 50, 0.12); color: var(--craft-dark); }
.tag-maturation { background: rgba(200, 148, 48, 0.15); color: var(--maturation-dark); }

.course-content h4 {
  font-family: var(--font-heading);
  font-weight: 500;
  font-style: italic;
  font-size: 18px;
  color: var(--foundation);
  margin-bottom: var(--space-xs);
}

.course-content p {
  font-size: 15px;
  line-height: 1.5;
  color: var(--clay);
}

/* ===== PUBLICATIONS & LINKS ===== */

.publications { background: var(--sand); }

.pub-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
}

.pub-card {
  background: var(--white);
  box-shadow: var(--shadow-card);
  border-radius: var(--border-radius-lg);
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--transition-fast), transform var(--transition-fast);
}

.pub-card:hover {
  box-shadow: var(--shadow-elevated);
  transform: translateY(-1px);
}

.pub-card .caption-2 {
  color: var(--clay);
  margin-bottom: var(--space-md);
}

.pub-card h3 {
  font-weight: 600;
  color: var(--foundation);
  margin-bottom: var(--space-sm);
}

.pub-card p {
  color: var(--clay);
  font-size: 15px;
  line-height: 1.5;
  flex: 1;
}

.pub-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  color: var(--catalyst);
  margin-top: var(--space-lg);
}

.pub-link:visited { color: var(--catalyst); }

/* ===== CONTACT / CTA ===== */

.contact {
  background: var(--foundation);
  color: var(--white);
  text-align: center;
}

.contact .h1 {
  margin-bottom: var(--space-md);
}

.contact .p1 {
  color: var(--limestone);
  max-width: 600px;
  margin: 0 auto var(--space-xl);
}

.contact-email {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(20px, 3vw, 28px);
  color: var(--maturation);
  text-decoration: none;
  margin-bottom: var(--space-2xl);
  transition: color var(--transition-fast);
}

.contact-email:hover { color: var(--maturation-light); text-decoration: none; }
.contact-email:visited { color: var(--maturation); }

.social-links {
  display: flex;
  justify-content: center;
  gap: var(--space-lg);
  flex-wrap: wrap;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  color: var(--limestone);
  text-decoration: none;
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--border-radius-md);
  transition: color var(--transition-fast), background var(--transition-fast);
}

.social-link:visited { color: var(--limestone); }

.social-link:hover {
  color: var(--white);
  background: rgba(196, 92, 42, 0.2);
  text-decoration: none;
}

.social-link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* ===== FOOTER ===== */

.site-footer {
  background: var(--foundation);
  padding: var(--space-xl) 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.footer-brand .logo-mark { flex-shrink: 0; }

.footer-brand .brand-text {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 18px;
  color: var(--white);
}

.footer-brand:visited .brand-text { color: var(--white); }
.footer-brand:hover { text-decoration: none; }
.footer-brand .brand-text span {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--catalyst);
  color: transparent;
  overflow: hidden;
  vertical-align: baseline;
  margin: 0 1px;
  position: relative;
  top: -1px;
  font-size: 0;
  line-height: 0;
}

.footer-copy {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

.footer-copy a { color: rgba(255, 255, 255, 0.7); }
.footer-copy a:hover { color: var(--white); }

/* ===== SKIP NAVIGATION ===== */

.skip-nav {
  position: absolute;
  top: -100%;
  left: var(--space-md);
  z-index: calc(var(--z-fixed-header) + 1);
  background: var(--catalyst);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  line-height: 1.2;
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--border-radius-md);
  text-decoration: none;
  transition: top var(--motion-fast) var(--ease-out);
}

.skip-nav:focus {
  top: var(--space-sm);
  outline: none;
  box-shadow: var(--shadow-focus);
  color: var(--white);
}

/* ===== FOCUS RING ===== */

:focus-visible {
  outline: none;
  box-shadow: var(--shadow-focus);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: none;
  box-shadow: var(--shadow-focus);
}

/* ===== SCROLL REVEAL ANIMATIONS ===== */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== REDUCED MOTION ===== */

@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;
  }

  html {
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ===== RESPONSIVE — TABLET ===== */

@media (max-width: 1023px) {
  .nav-desktop { display: none; }
  .nav-toggle { display: block; }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .hero-visual { order: -1; }

  .hero-photo-placeholder {
    max-width: 320px;
    aspect-ratio: 1;
    margin: 0 auto;
  }

  .roles-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .role-item {
    text-align: left;
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
  }

  .role-icon { margin: 0; flex-shrink: 0; }

  .about-grid { grid-template-columns: 1fr; }
  .expertise-grid { grid-template-columns: 1fr 1fr; }
  .teaching-grid { grid-template-columns: 1fr; }
  .pub-grid { grid-template-columns: 1fr; }

  .section { padding: var(--space-3xl) 0; }
}

/* ===== RESPONSIVE — MOBILE ===== */

@media (max-width: 767px) {
  .hero { padding: var(--space-2xl) 0; }
  .expertise-grid { grid-template-columns: 1fr; }

  .course-item {
    flex-direction: column;
    gap: var(--space-sm);
  }

  .social-links {
    flex-direction: column;
    align-items: center;
  }

  .social-link {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  .footer-inner {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
  }
}

/* ===== PRINT STYLESHEET ===== */

@media print {
  /* Hide non-content elements */
  header, footer, nav, .sidebar-menu, .language-selector,
  .breadcrumb, .mediation-motif, button, .search-component,
  .skip-nav, .nav-toggle, .hero-cta, .social-links { display: none !important; }

  /* Force light-mode colors */
  body { background: white !important; color: #1C1610 !important; }

  /* Typography adjustments */
  body { font-size: 11pt; line-height: 1.5; }
  h1, h2, h3, h4 { page-break-after: avoid; }
  p, li, blockquote { orphans: 3; widows: 3; }

  /* Links: show URL inline */
  a[href]::after { content: " (" attr(href) ")"; font-size: 9pt; color: #6A5E4E; }
  a[href^="#"]::after, a[href^="javascript"]::after { content: ""; }

  /* Page margins */
  @page { margin: 2cm 2.5cm; }
  @page :first { margin-top: 3cm; }

  /* Cards print as simple blocks */
  .card, .info-card, .course-item { box-shadow: none !important; border: 1px solid #C8BDA8; page-break-inside: avoid; }

  /* Tables */
  table { page-break-inside: avoid; }
  thead { display: table-header-group; }

  /* Reveals should be visible */
  .reveal { opacity: 1 !important; transform: none !important; }
}
