@charset "UTF-8";

/* Melek Gür | Demo Portfolio
   Inspired by provided design references */

:root {
  /*
   * Prefer GeneratePress global colors when present (Customizer → Colors).
   * Fallbacks keep the static design if GP vars are missing.
   */
  /* Bridge to GP globals (Customizer → Colors → Global Colors). */
  --ink: var(--contrast, #1a1a1a);
  --bg: var(--base-3, #f8f1e9);
  --stone: #c9b8a4;
  --clay: var(--contrast-3, #8a7d70);
  /* Accent: use GP global --accent (Customizer). Fallback only when GP var absent. */

  --bg-soft: var(--base-2, #f3ebe0);
  --bg-form: var(--base, #f0e7db);
  --ink-soft: var(--contrast-2, #3a342e);
  --muted: var(--clay);
  --line: rgba(26, 26, 26, 0.12);
  --line-strong: var(--ink);
  --accent-soft: rgba(224, 127, 61, 0.12);
  --white: #ffffff;
  --black: #1a1a1a;
  --dark: var(--contrast, #1a1a1a);
  --dark-soft: #242424;
  --dark-muted: #b7aea3;
  --dark-line: rgba(248, 241, 233, 0.14);

  --font-sans: "Figtree", "Segoe UI", sans-serif;
  --font-display: "Figtree", "Segoe UI", sans-serif;

  /* Overridden inline from Customizer → Layout → Container when available. */
  --container: 1260px;
  --pad-x: clamp(1.25rem, 10.5vw, 170px);
  --header-h: 88px;
  --radius: 4px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  /* Bridged from Customizer → Colors → Buttons (see assets.php). */
  --mg-btn-bg: var(--accent, #e07f3d);
  --mg-btn-bg-hover: var(--contrast, #1a1a1a);
  --mg-btn-color: #ffffff;
  --mg-btn-color-hover: #ffffff;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Melek section wrappers only — exclude GP #page.site.container.grid-container */
.container:not(.site) {
  width: min(100% - (var(--pad-x) * 2), var(--container));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248, 241, 233, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease), transform 0.35s var(--ease), color 0.3s var(--ease);
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
}

.site-header.is-hidden {
  transform: translateY(-100%);
}

.header-social {
  display: flex;
  align-items: center;
  align-self: center;
  gap: 0.85rem;
  margin-left: 0.15rem;
  padding-left: 1.25rem;
  border-left: 1px solid var(--line);
  height: 2rem;
  transform: translateY(1px);
}

.header-social a {
  display: grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  line-height: 0;
  color: var(--clay);
  transition: color 0.25s var(--ease);
}

.header-social a[aria-label="LinkedIn"],
.header-social a[aria-label="Linkedin"] {
  margin-top: -4px;
}

.header-social a svg {
  display: block;
  width: 18px;
  height: 18px;
}

.header-social a:hover,
.header-social a:focus {
  color: var(--accent);
}

.header-inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  color: inherit;
  white-space: nowrap;
  transition: opacity 0.25s var(--ease);
}

.logo .logo__mark {
  display: inline-flex;
  align-items: center;
  color: inherit;
  line-height: 0;
}

.logo .logo__mark svg {
  display: block;
  height: clamp(2.2rem, 2.7vw, 2.75rem);
  width: auto;
}

/* Path outlines render slightly thinner than live Allura; nudge weight outward. */
.logo .logo__mark svg path {
  stroke: currentColor;
  stroke-width: 1.05;
  stroke-linejoin: round;
  stroke-linecap: round;
  paint-order: stroke fill;
}

.site-header .logo {
  transform: translateY(3px);
}

.logo:hover {
  opacity: 0.75;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 2.35rem;
  margin-left: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.35rem;
}

.nav-right > .btn-nav {
  margin-left: 1.25rem;
  flex-shrink: 0;
}

.nav-links a {
  font-size: 1.12rem;
  font-weight: 500;
  position: relative;
  display: inline-block;
  width: fit-content;
  max-width: 100%;
  padding-bottom: 2px;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: auto;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.nav-links a:hover::after,
.nav-links a.is-active::after {
  transform: scaleX(1);
}

.nav-links a.is-active::after {
  background: var(--accent);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  padding: 0.85rem 1.25rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: var(--radius);
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
}

.btn:hover {
  background: var(--ink);
  color: var(--white);
}

.btn-solid {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}

.btn-solid:hover {
  background: var(--mg-btn-bg);
  border-color: var(--mg-btn-bg);
  color: var(--mg-btn-color);
}

.btn-accent {
  background: var(--mg-btn-bg);
  border-color: var(--mg-btn-bg);
  color: var(--mg-btn-color);
}

.btn-accent:hover {
  background: var(--mg-btn-bg-hover);
  border-color: var(--mg-btn-bg-hover);
  color: var(--mg-btn-color-hover);
}

.btn-nav {
  border-color: var(--mg-btn-bg);
  color: var(--ink);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.7rem 1.15rem;
}

.btn-nav:hover {
  background: var(--mg-btn-bg);
  border-color: var(--mg-btn-bg);
  color: var(--mg-btn-color);
}

.btn-white {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}

.btn-white:hover {
  background: var(--mg-btn-bg);
  border-color: var(--mg-btn-bg);
  color: var(--mg-btn-color);
}

.btn-ghost-light {
  border-color: var(--white);
  color: var(--white);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--ink);
  background: transparent;
  cursor: pointer;
  position: relative;
  border-radius: var(--radius);
}

/* Custom 3-line icon only (not GeneratePress .gp-icon / .mobile-menu). */
.menu-toggle > span:not([class]),
.menu-toggle > span:not([class])::before,
.menu-toggle > span:not([class])::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  height: 1px;
  background: var(--ink);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

.menu-toggle > span:not([class]) {
  top: 50%;
}

.menu-toggle > span:not([class])::before {
  top: -7px;
}

.menu-toggle > span:not([class])::after {
  top: 7px;
}

.menu-toggle.is-open > span:not([class]) {
  background: transparent;
}

.menu-toggle.is-open > span:not([class])::before {
  top: 0;
  transform: rotate(45deg);
}

.menu-toggle.is-open > span:not([class])::after {
  top: 0;
  transform: rotate(-45deg);
}

/* ---------- Typography helpers ---------- */
.eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 1rem;
  color: var(--clay);
}

.eyebrow--accent,
.section-dark .eyebrow--accent,
.section-testimonials .eyebrow--accent,
.contact-home-copy .eyebrow--accent,
.hero--panel .eyebrow--accent {
  color: var(--accent);
}

.section-dark .eyebrow:not(.eyebrow--accent) {
  color: var(--stone);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.2vw, 3.35rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0;
}

.lead {
  font-size: 1.05rem;
  color: var(--ink-soft);
  max-width: 38rem;
  margin: 1.25rem 0 0;
}

.text-link {
  display: inline-block;
  font-size: 0.95rem;
  font-weight: 500;
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
  transition: opacity 0.25s var(--ease);
}

.text-link:hover {
  opacity: 0.55;
}

.text-link-arrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: letter-spacing 0.3s var(--ease), color 0.25s var(--ease);
}

.text-link-arrow:hover {
  letter-spacing: 0.14em;
  color: var(--accent);
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1.2s var(--ease), transform 1.2s var(--ease);
}

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

.reveal-delay-1 { transition-delay: 0.16s; }
.reveal-delay-2 { transition-delay: 0.32s; }
.reveal-delay-3 { transition-delay: 0.48s; }

/* ---------- Home top: hero + marquee fill first viewport under header ---------- */
.home-top {
  height: 100svh;
  max-height: 100svh;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  background:
    radial-gradient(ellipse 70% 50% at 0% 100%, rgba(224, 127, 61, 0.22), transparent 55%),
    var(--ink);
  color: var(--bg);
  overflow: hidden;
  margin-top: calc(-1 * var(--header-h));
  padding-top: var(--header-h);
  box-sizing: border-box;
}

.site-header--integrated {
  position: sticky;
  top: 0;
  background: transparent;
  backdrop-filter: none;
  border-bottom: 1px solid transparent;
  color: var(--bg);
}

.site-header--integrated.is-scrolled {
  border-bottom-color: transparent;
}

.site-header--integrated.is-solid {
  background: rgba(248, 241, 233, 0.96);
  backdrop-filter: blur(10px);
  border-bottom-color: transparent;
  color: var(--ink);
}

.site-header--integrated .nav-links a,
.site-header--integrated .header-social a {
  color: rgba(248, 241, 233, 0.88);
}

.site-header--integrated .header-social {
  border-left-color: rgba(248, 241, 233, 0.2);
}

.site-header--integrated .header-social a:hover,
.site-header--integrated .header-social a:focus {
  color: var(--accent);
}

.site-header--integrated .nav-links a:hover {
  color: var(--bg);
}

.site-header--integrated .btn-nav {
  border-color: rgba(248, 241, 233, 0.55);
  color: var(--bg);
}

.site-header--integrated .btn-nav:hover {
  background: var(--mg-btn-bg);
  border-color: var(--mg-btn-bg);
  color: var(--mg-btn-color);
}

.site-header--integrated .menu-toggle {
  border-color: rgba(248, 241, 233, 0.55);
}

.site-header--integrated .menu-toggle > span:not([class]),
.site-header--integrated .menu-toggle > span:not([class])::before,
.site-header--integrated .menu-toggle > span:not([class])::after {
  background: var(--bg);
}

.site-header--integrated.is-solid .nav-links a,
.site-header--integrated.is-solid .header-social a {
  color: var(--ink-soft);
}

.site-header--integrated.is-solid .header-social {
  border-left-color: var(--line);
}

.site-header--integrated.is-solid .header-social a:hover,
.site-header--integrated.is-solid .header-social a:focus {
  color: var(--accent);
}

.site-header--integrated.is-solid .nav-links a:hover {
  color: var(--ink);
}

.site-header--integrated.is-solid .btn-nav {
  border-color: var(--mg-btn-bg);
  color: var(--ink);
}

.site-header--integrated.is-solid .menu-toggle {
  border-color: var(--ink);
}

.site-header--integrated.is-solid .menu-toggle > span:not([class]),
.site-header--integrated.is-solid .menu-toggle > span:not([class])::before,
.site-header--integrated.is-solid .menu-toggle > span:not([class])::after {
  background: var(--ink);
}

/* ---------- Hero (edge-to-edge panel) ---------- */
.hero--panel {
  position: relative;
  min-height: 0;
  height: 100%;
  padding: 0;
  background: var(--ink);
  color: var(--bg);
  overflow: hidden;
}

.hero-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  height: 100%;
  min-height: 0;
  align-items: stretch;
}

.hero--panel .hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.25rem, 3vw, 2.5rem) clamp(1.5rem, 4vw, 3.5rem);
  padding-left: max(var(--pad-x), calc((100vw - var(--container)) / 2));
  background:
    radial-gradient(ellipse 110% 85% at 0% 100%, rgba(224, 127, 61, 0.28), transparent 58%),
    transparent;
}

.hero--panel .eyebrow {
  margin-bottom: 0.85rem;
}

.hero--panel .eyebrow:not(.eyebrow--accent) {
  color: var(--stone);
}

.hero--panel .hero-title {
  font-size: clamp(2.35rem, 4.8vw, 4.05rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.035em;
  margin: 0;
  max-width: 12ch;
  color: var(--bg);
}

.hero--panel .hero-text {
  margin: 1.25rem 0 0;
  max-width: 36rem;
  color: rgba(248, 241, 233, 0.72);
  font-size: clamp(1.02rem, 1.35vw, 1.15rem);
  line-height: 1.55;
}

.hero--panel .hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  margin-top: 1.5rem;
}

.hero--panel .btn-solid {
  background: var(--bg);
  border-color: var(--bg);
  color: var(--ink);
}

.hero--panel .btn-solid:hover {
  background: var(--mg-btn-bg);
  border-color: var(--mg-btn-bg);
  color: var(--mg-btn-color);
}

.hero--panel .text-link {
  color: var(--bg);
  border-bottom-color: rgba(248, 241, 233, 0.45);
}

.hero--panel .hero-media {
  position: relative;
  z-index: 1;
  min-height: 0;
  height: 100%;
  overflow: hidden;
  background: #111;
  border-radius: 0;
}

.hero--panel .hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 20%;
}

/* ---------- Services marquee ---------- */
.home-top .services-marquee {
  background: transparent;
  border-top: 1px solid rgba(248, 241, 233, 0.1);
  padding: 1.1rem 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.home-top .services-marquee__track span {
  color: rgba(248, 241, 233, 0.78);
  font-size: clamp(1.1rem, 2vw, 1.65rem);
}

.services-marquee {
  padding: clamp(1.75rem, 3.5vw, 2.75rem) 0;
  overflow: hidden;
  background: var(--bg);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.services-marquee__track {
  display: flex;
  align-items: center;
  gap: 0;
  width: max-content;
  animation: marquee 70s linear infinite;
}

.services-marquee__track span {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  font-size: clamp(1.35rem, 2.8vw, 2.35rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--ink);
  opacity: 0.78;
  margin-right: 2.4em;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Section shells ---------- */
.section {
  padding: clamp(4rem, 9vw, 7rem) 0;
}

.section-soft {
  background: var(--bg-soft);
}

/* About alternating creams: light / dark / light */
.section-cream-dark {
  background: var(--bg-form);
}

.section-cream-light {
  background: var(--bg);
}

.section-dark {
  background: var(--dark);
  color: var(--white);
}

/* ---------- Credentials ---------- */
.credentials-section {
  position: relative;
  overflow: hidden;
  background: #0a0a0a;
  color: #f8f1e9;
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
}

.credentials-section__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.credentials-section__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: brightness(0.5) saturate(1.05) contrast(1.05) blur(6px);
  transform: scale(1.02);
}

.credentials-section::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(105deg, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.58) 48%, rgba(0, 0, 0, 0.72) 100%),
    radial-gradient(ellipse 55% 50% at 85% 20%, rgba(224, 127, 61, 0.12), transparent 60%);
}

.credentials-section__inner {
  position: relative;
  z-index: 2;
}

.credentials-layout {
  display: grid;
  grid-template-columns: 1.45fr 0.9fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.credentials-label {
  margin: 0 0 1.25rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.credentials-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem 1.5rem;
}

.credentials-item {
  border-top: 1px solid rgba(248, 241, 233, 0.22);
  padding-top: 0.9rem;
}

.credentials-item h3 {
  margin: 0 0 0.35rem;
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: #fff;
}

.credentials-item p {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.78);
}

.education-block {
  padding-left: clamp(1.5rem, 3vw, 2.25rem);
  border-left: 1px solid rgba(248, 241, 233, 0.18);
}

.education-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.education-list li {
  margin: 0;
  padding: 0.95rem 0;
  border-top: 1px solid rgba(248, 241, 233, 0.22);
  font-size: 0.95rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.92);
}

.education-list li:last-child {
  padding-bottom: 0;
}

.section-head {
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

.section-head.split {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
  margin-bottom: 0;
}

/* ---------- Who this is for ---------- */
.audience-list {
  display: flex;
  flex-direction: column;
}

@media (min-width: 769px) {
  .audience-list {
    margin-top: 8px;
  }
}

.audience-item {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1rem;
  align-items: center;
  padding: 0.85rem 0;
  border-top: 1px solid var(--line);
  font-size: 1.05rem;
}

.audience-item:first-child {
  border-top: none;
}

.audience-item p {
  margin: 1em 0;
  line-height: 1.45;
}

.audience-num {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--accent);
  line-height: 1;
  align-self: center;
}

/* ---------- Quiet part ---------- */
.quiet-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
}

.quiet-intro {
  font-size: 1.15rem;
  color: #d0d0d0;
  margin: 1.5rem 0 1.75rem;
  max-width: 36rem;
}

.quiet-body p {
  color: var(--dark-muted);
  max-width: 36rem;
  margin: 0 0 1rem;
}

.quiet-emphasis {
  margin-top: 2.5rem;
  font-size: 1.2rem;
  font-weight: 700;
  max-width: 28rem;
}

.quiet-disclaimer {
  margin: 1.25rem 0 0;
  max-width: 34rem;
  font-size: 0.74rem;
  font-style: italic;
  line-height: 1.55;
  color: rgba(248, 241, 233, 0.42);
}

.symptoms {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-top: 0.5rem;
}

@media (min-width: 769px) {
  .symptoms {
    margin-top: 8px;
  }
}

.symptom {
  position: relative;
  margin: 0;
  padding: 1.15rem 0 1.15rem 1.15rem;
  color: rgba(248, 241, 233, 0.78);
  border: none;
  background: transparent;
  text-align: left;
  cursor: default;
  font: inherit;
  line-height: 1.5;
}

.symptom::before {
  content: "·";
  position: absolute;
  left: 0;
  top: 1.15rem;
  color: var(--accent);
  font-size: 1.15rem;
  line-height: 1.5;
  font-weight: 700;
}

/* ---------- RESET method ---------- */
.reset-head {
  text-align: center;
  max-width: 44rem;
  margin: 0 auto 2.75rem;
}

.reset-intro {
  max-width: 42rem;
  margin: 1.25rem auto 0;
  color: var(--ink-soft);
}

.reset-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: clamp(1.25rem, 3vw, 2.25rem);
  align-items: stretch;
  justify-content: center;
  max-width: 1080px;
  margin-inline: auto;
}

.reset-list {
  border-top: 1px solid var(--line);
  max-width: 32rem;
  margin-inline: auto;
  width: 100%;
  justify-self: center;
}

.reset-item {
  display: grid;
  grid-template-columns: 3.75rem 1fr;
  gap: 1.25rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
}

.reset-letter {
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  font-weight: 300;
  line-height: 1;
  color: var(--accent);
  letter-spacing: -0.03em;
}

.reset-item h3 {
  margin: 0.35rem 0 0.4rem;
  font-size: 1.1rem;
  font-weight: 700;
}

.reset-item p {
  margin: 0;
  color: var(--ink-soft);
}

.reset-visual {
  overflow: hidden;
  aspect-ratio: auto;
  background: var(--bg);
  width: min(100%, 400px);
  height: 100%;
  min-height: 0;
  max-height: none;
  margin-inline: auto 0;
  border-radius: var(--radius);
  justify-self: end;
  align-self: stretch;
}

.reset-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
}

/* ---------- Photo collage ---------- */
.collage-section .section-head {
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.photo-collage {
  position: relative;
  height: clamp(420px, 58vw, 620px);
  max-width: 920px;
  margin: 0 auto;
}

.collage-item {
  position: absolute;
  margin: 0;
  overflow: hidden;
  border-radius: 10px;
  background: var(--bg-soft);
}

.collage-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.35) contrast(1.05);
  transition: transform 1.2s var(--ease), filter 0.6s var(--ease);
}

.collage-item:hover img {
  transform: scale(1.03);
  filter: grayscale(0.1) contrast(1.05);
}

.collage-item--a {
  width: 38%;
  aspect-ratio: 3 / 4;
  top: 0;
  left: 4%;
  z-index: 3;
}

.collage-item--b {
  width: 48%;
  aspect-ratio: 4 / 5;
  top: 12%;
  left: 28%;
  z-index: 2;
}

.collage-item--c {
  width: 36%;
  aspect-ratio: 3 / 4;
  bottom: 0;
  right: 2%;
  z-index: 3;
}

/* ---------- Social rail (right icons) ---------- */
.social-rail-icons {
  position: fixed;
  right: 1rem;
  top: 50%;
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.95rem;
  transform: translateY(-50%);
}

.social-rail-icons a,
.social-rail-icons__newsletter {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  color: #9a9187;
  background: transparent;
  background-color: transparent;
  border: none;
  box-shadow: none;
  transition: color 0.25s var(--ease), transform 0.25s var(--ease);
}

.social-rail-icons a:hover,
.social-rail-icons a:focus,
.social-rail-icons__newsletter:hover,
.social-rail-icons__newsletter:focus {
  color: var(--accent);
  background: transparent;
  background-color: transparent;
  transform: translateY(-2px);
}

.social-rail-icons__newsletter {
  position: relative;
  margin-top: 0.95rem;
  height: 36px;
  cursor: pointer;
  border-radius: 0;
}

.social-rail-icons__newsletter::before {
  content: "";
  position: absolute;
  top: -0.95rem;
  left: 20%;
  right: 20%;
  border-top: 1px solid rgba(154, 145, 135, 0.35);
  pointer-events: none;
}

.social-rail-icons__newsletter svg {
  display: block;
  width: 18px;
  height: 18px;
}

.social-rail-icons__newsletter.is-pulse {
  color: var(--accent);
  animation: newsletter-rail-pulse 0.55s var(--ease);
}

@keyframes newsletter-rail-pulse {
  0% { transform: scale(1); }
  40% { transform: scale(1.18); }
  100% { transform: scale(1); }
}

/* ---------- Ways / Services ---------- */
.ways-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.way-card {
  padding-top: 1.25rem;
  border-top: 1px solid var(--ink);
}

.way-card h3 {
  margin: 0 0 1rem;
  font-size: 1.2rem;
  line-height: 1.3;
  font-weight: 700;
}

.way-card > p {
  margin: 0 0 1.25rem;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.way-card ul li {
  padding: 0.55rem 0;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.way-card ul li:first-child {
  border-top: none;
  padding-top: 0;
}

/* ---------- Programme grid ---------- */
.section-programme {
  background: var(--bg-soft);
}

.section-ways {
  background: var(--bg-soft);
}

.programme-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0 2.25rem;
}

.programme-item {
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--line);
}

.programme-item:nth-last-child(-n + 3) {
  border-bottom: none;
}

.programme-item h3 {
  margin: 0 0 0.65rem;
  font-size: 1.05rem;
  line-height: 1.3;
  font-weight: 700;
}

.programme-item p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.55;
  max-width: 34ch;
}

/* ---------- About split ---------- */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.about-media-stack {
  position: relative;
  width: min(100%, 400px);
  max-height: min(460px, 52vh);
  aspect-ratio: 3 / 4;
  --about-notch-w: 48%;
  --about-notch-h: 42%;
  --about-gap: 0.85rem;
  overflow: visible;
  margin-right: 0.75rem;
  margin-bottom: 1.25rem;
  justify-self: start;
}

.about-media {
  overflow: hidden;
  aspect-ratio: 3 / 4;
  width: min(100%, 400px);
  max-height: min(460px, 52vh);
  background: var(--bg-soft);
  border-radius: var(--radius);
  justify-self: start;
}

.about-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
}

/* Home about photo: taller natural crop on desktop. */
@media (min-width: 981px) {
  .about-grid > .about-media {
    aspect-ratio: auto;
    max-height: none;
    height: auto;
  }

  .about-grid > .about-media img {
    height: auto;
    display: block;
  }
}

.about-grid--duo .about-media--primary {
  position: absolute;
  inset: 0;
  width: auto;
  height: auto;
  aspect-ratio: auto;
  border-radius: var(--radius);
  clip-path: polygon(
    0 0,
    100% 0,
    100% calc(100% - var(--about-notch-h) - var(--about-gap)),
    calc(100% - var(--about-notch-w) - var(--about-gap)) calc(100% - var(--about-notch-h) - var(--about-gap)),
    calc(100% - var(--about-notch-w) - var(--about-gap)) 100%,
    0 100%
  );
}

.about-grid--duo .about-media--secondary {
  position: absolute;
  right: -10%;
  bottom: -12%;
  z-index: 2;
  width: 54%;
  height: auto;
  aspect-ratio: 1 / 1.05;
  box-shadow: none;
  border: none;
}

.about-grid--duo {
  overflow: visible;
  padding-bottom: 1.5rem;
}

.section-soft:has(.about-grid--duo) {
  overflow: visible;
}

.about-copy h2,
.about-copy .section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.2vw, 3.35rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 1.5rem;
}

.about-copy .eyebrow {
  margin-bottom: 0.85rem;
}

.about-copy .eyebrow--accent {
  color: var(--accent);
}

.about-copy p {
  color: var(--ink-soft);
  margin: 0 0 1rem;
  max-width: 36rem;
}

/* ---------- Results ---------- */
.section-results {
  background: var(--dark);
  color: var(--white);
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.25rem 2.5rem;
}

.result-item {
  padding-top: 1.25rem;
  border-top: 1px solid var(--dark-line);
}

.result-item h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  line-height: 1.3;
  font-weight: 700;
  color: #f8f1e9;
}

.result-item p {
  margin: 0;
  color: var(--dark-muted);
  font-size: 0.95rem;
  line-height: 1.55;
  max-width: 34ch;
}

/* ---------- Feeling good ---------- */
.section-feeling {
  background: var(--bg);
}

.feeling-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.feeling-grid--programme {
  align-items: stretch;
}

.feeling-grid--programme .feeling-media {
  position: relative;
  top: auto;
  aspect-ratio: auto;
  width: min(100%, 400px);
  height: 100%;
  max-height: none;
  min-height: 0;
  align-self: stretch;
}

.feeling-media {
  overflow: hidden;
  aspect-ratio: 3 / 4;
  width: min(100%, 400px);
  max-height: min(460px, 52vh);
  background: var(--bg-soft);
  border-radius: var(--radius);
  justify-self: start;
}

.feeling-copy .faq-list--compact {
  max-width: none;
  margin: 1.75rem 0 0;
}

.feeling-copy .faq-list--compact .faq-trigger {
  font-size: 1.02rem;
  padding: 1.05rem 0;
}

.feeling-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
}

.feeling-copy h2,
.feeling-copy .section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.2vw, 3.35rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
}

.feeling-copy .sub {
  color: var(--muted);
  margin: 0 0 1.25rem;
}

.feeling-list {
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
}

.feeling-list li {
  position: relative;
  padding: 0.3rem 0 0.3rem 1.1rem;
  color: var(--ink-soft);
}

.feeling-list li::before {
  content: "·";
  position: absolute;
  left: 0;
  top: 0.3rem;
  color: var(--accent);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: inherit;
}

.feeling-statement {
  font-weight: 700;
  margin: 0;
}

/* ---------- Newsletter ---------- */
.newsletter-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: end;
}

.newsletter-copy p {
  color: var(--dark-muted);
  margin: 0 0 1.75rem;
}

.newsletter-copy .newsletter-note {
  margin: 4px 0 0;
}

.newsletter-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: end;
}

.field-line {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.field-line label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.field-line input,
.field-line textarea,
.field-line select {
  width: 100%;
  border: none;
  border-bottom: 1px solid currentColor;
  background: transparent;
  padding: 0.65rem 0;
  outline: none;
  border-radius: 0;
  appearance: none;
}

.field-line select {
  cursor: pointer;
  color: inherit;
}

.field-line input::placeholder,
.field-line textarea::placeholder {
  color: inherit;
  opacity: 0.45;
}

.newsletter-note {
  margin: 4px 0 0;
  font-size: 0.78rem;
  font-style: italic;
  color: var(--dark-muted);
  line-height: 1.55;
  max-width: 52ch;
}

.newsletter-note a,
.newsletter-modal__note a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.newsletter-note a:hover,
.newsletter-modal__note a:hover {
  color: var(--cream, #f8f1e9);
}

/* ---------- Cookie consent banner ---------- */
.cookie-banner {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  z-index: 220;
  width: min(26.5rem, calc(100vw - 2rem));
  pointer-events: none;
  opacity: 0;
  transform: translate3d(0, 1.25rem, 0);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}

.cookie-banner.is-visible {
  pointer-events: auto;
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.cookie-banner__inner {
  padding: 1.15rem 1.2rem 1.2rem;
  background: var(--dark, #1a1a1a);
  color: var(--bg, #f8f1e9);
  border: 1px solid var(--dark-line);
  border-radius: var(--radius);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

.cookie-banner__eyebrow {
  margin: 0 0 0.55rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent, #e07f3d);
}

.cookie-banner__text {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.55;
  color: rgba(248, 241, 233, 0.82);
}

.cookie-banner__text a {
  color: var(--bg, #f8f1e9);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.cookie-banner__text a:hover {
  color: var(--accent, #e07f3d);
}

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.85rem 1.15rem;
  margin-top: 1rem;
}

.cookie-banner__more {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(248, 241, 233, 0.78);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.cookie-banner__more:hover {
  color: var(--bg, #f8f1e9);
}

.cookie-banner__accept {
  min-width: 7.5rem;
  border-color: var(--mg-btn-bg);
  background: var(--mg-btn-bg);
  color: var(--mg-btn-color);
}

.cookie-banner__accept:hover {
  border-color: var(--bg, #f8f1e9);
  background: var(--bg, #f8f1e9);
  color: var(--ink, #1a1a1a);
}

@media (max-width: 640px) {
  .cookie-banner {
    left: max(0.75rem, env(safe-area-inset-left));
    right: max(0.75rem, env(safe-area-inset-right));
    bottom: max(0.75rem, env(safe-area-inset-bottom));
    width: auto;
  }

  .cookie-banner__actions {
    justify-content: stretch;
  }

  .cookie-banner__more {
    flex: 1 1 auto;
    text-align: center;
  }

  .cookie-banner__accept {
    flex: 1 1 auto;
  }
}

.home-contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  color: var(--ink);
}

.home-contact-form .field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1.25rem;
}

.home-contact-form .field-line textarea {
  min-height: 5.5rem;
  resize: vertical;
}

.home-contact-form .btn {
  align-self: flex-start;
  margin-top: 0.35rem;
}

@media (max-width: 760px) {
  .home-contact-form .field-row {
    grid-template-columns: 1fr;
  }
}

.form-message {
  display: none;
  margin-top: 1rem;
  font-size: 0.9rem;
}

.form-message.is-visible {
  display: block;
}

/* ---------- Footer ---------- */
/* Background/text/link colors: Customizer → Colors → Footer Bar (.site-info) */
.site-footer {
  padding: 0;
}

.site-info.melekgur-footer-bar,
.melekgur-footer-bar.site-info {
  padding: clamp(3.5rem, 7vw, 5rem) 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-brand .logo {
  color: inherit;
  opacity: 1;
}

.footer-brand .logo .logo__mark svg {
  height: clamp(2.4rem, 3vw, 3rem);
}

.site-info .footer-brand .logo {
  color: var(--base-3, #f8f1e9);
}

.footer-tag {
  margin: 0.5rem 0 0;
  font-size: 0.9rem;
  color: var(--dark-muted, #b7aea3);
  opacity: 1;
}

.footer-contact {
  margin-top: 1.15rem;
}

.footer-contact a,
.footer-contact p {
  display: block;
  margin: 0 0 0.4rem;
  font-size: 0.92rem;
  color: var(--dark-muted, #b7aea3);
  transition: color 0.25s var(--ease);
}

.footer-contact a:hover {
  color: var(--accent, #e07f3d);
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: 0.95rem;
}

.footer-social a {
  display: grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  margin: 0;
  color: var(--dark-muted, #b7aea3);
  transition: color 0.25s var(--ease), transform 0.25s var(--ease);
}

.footer-social a:hover {
  color: var(--accent, #e07f3d);
  transform: translateY(-2px);
}

.footer-social a svg {
  display: block;
  width: 18px;
  height: 18px;
}

.footer-social a[aria-label="LinkedIn"] {
  margin-top: -2px;
}

.footer-col h4 {
  margin: 0 0 1rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--base-3, #f8f1e9);
}

.footer-col a,
.footer-col p {
  display: block;
  margin: 0 0 0.55rem;
  color: var(--dark-muted, #b7aea3);
  font-size: 0.95rem;
  transition: color 0.25s var(--ease);
}

.footer-col a:hover {
  color: var(--accent, #e07f3d);
}

.footer-bottom {
  border-top: 1px solid var(--dark-line);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: start;
}

.footer-bottom p {
  margin: 0;
  font-size: 0.78rem;
  color: var(--dark-muted, #b7aea3);
  opacity: 1;
  max-width: 42rem;
  line-height: 1.5;
}

.footer-copy {
  white-space: nowrap;
}

/* ---------- Journal page ---------- */
.page-hero {
  padding: clamp(3rem, 7vw, 5rem) 0 2rem;
}

.page-hero--label {
  padding: clamp(2.5rem, 5vw, 3.5rem) 0 0.5rem;
}

.page-label {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.page-hero .section-title {
  max-width: 16ch;
}

.page-hero .lead {
  max-width: 40rem;
}

/* ---------- Legal policy pages ---------- */
.legal-doc {
  padding-top: clamp(1.25rem, 3vw, 2rem);
  padding-bottom: clamp(3.5rem, 8vw, 6rem);
}

.legal-doc__updated {
  margin: 0 0 1.75rem;
  font-size: 0.9rem;
  font-style: italic;
  color: var(--muted);
}

.legal-doc__body {
  color: var(--ink);
  font-size: 1.02rem;
  line-height: 1.7;
}

.legal-doc__body > :first-child {
  margin-top: 0;
}

.legal-doc__body h2 {
  margin: 2.35rem 0 0.85rem;
  font-size: clamp(1.15rem, 2.2vw, 1.35rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.3;
}

.legal-doc__body h3 {
  margin: 1.5rem 0 0.65rem;
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.legal-doc__body p {
  margin: 0 0 1rem;
}

.legal-doc__body ul {
  margin: 0 0 1.15rem;
  padding-left: 1.2rem;
}

.legal-doc__body li {
  margin: 0 0 0.4rem;
}

.legal-doc__body a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.legal-doc__body a:hover {
  color: var(--ink);
}

.legal-doc__table-wrap {
  margin: 0 0 1.25rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.legal-doc__table {
  width: 100%;
  min-width: 36rem;
  border-collapse: collapse;
  font-size: 0.92rem;
  line-height: 1.45;
}

.legal-doc__table th,
.legal-doc__table td {
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
  padding: 0.75rem 0.85rem 0.75rem 0;
  text-align: left;
  vertical-align: top;
}

.legal-doc__table th {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.section-contact {
  padding-top: clamp(1.5rem, 3vw, 2.25rem);
}

.about-kicker {
  margin: -0.35rem 0 1.25rem;
  font-size: 0.95rem;
  font-style: italic;
  line-height: 1.5;
  color: var(--muted);
  max-width: none;
}

/* ---------- Journal page ---------- */
.journal-hero {
  position: relative;
  overflow: hidden;
  color: #f8f1e9;
  margin-top: calc(-1 * var(--header-h));
  padding: calc(var(--header-h) + clamp(1.35rem, 2.8vw, 2.25rem)) 0 0;
  background: #0a0a0a;
  box-sizing: border-box;
}

.journal-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.journal-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  filter: brightness(0.38) saturate(0.55) contrast(1.08);
}

.journal-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.72) 55%, rgba(0, 0, 0, 0.88) 100%),
    radial-gradient(ellipse 80% 60% at 0% 100%, rgba(224, 127, 61, 0.16), transparent 55%);
  pointer-events: none;
}

.journal-hero__content {
  position: relative;
  z-index: 2;
}

.journal-hero .eyebrow:not(.eyebrow--accent) {
  color: var(--stone);
}

.journal-hero .eyebrow--accent {
  color: var(--accent);
}

.journal-hero .section-title {
  max-width: 16ch;
  color: #f8f1e9;
}

.journal-hero .lead {
  max-width: 40rem;
  font-size: 0.95rem;
  color: rgba(248, 241, 233, 0.78);
  margin-top: 0.85rem;
}

.journal-hero .filters {
  margin-top: clamp(1.1rem, 2.2vw, 1.6rem);
  margin-bottom: 32px;
  padding: 0.65rem 0 0;
  border-bottom: none;
}

.filters--on-dark .filter-btn {
  color: rgba(248, 241, 233, 0.55);
  border-bottom-color: transparent;
}

.filters--on-dark .filter-btn:hover,
.filters--on-dark .filter-btn.is-active {
  color: #f8f1e9;
  border-bottom-color: var(--accent);
}

/* Blog index / category: light cream under the hero */
body.blog,
body.category {
  background: var(--bg);
}

.journal-articles.section {
  padding-top: clamp(0.65rem, 1.4vw, 1rem);
  padding-bottom: clamp(2.5rem, 5vw, 3.5rem);
  background: var(--bg);
}

/* Single posts: dark cream */
body.single-post {
  background: var(--bg-form);
}

.journal-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

.journal-card__body .text-link-arrow {
  margin-top: auto;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.35rem;
  padding: 1.5rem 0 2.5rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 3rem;
}

.filter-btn {
  border: none;
  background: transparent;
  padding: 0 0 4px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.filter-btn:hover,
.filter-btn.is-active {
  color: var(--ink);
  border-bottom-color: var(--accent);
}

.journal-list {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  padding-bottom: 5rem;
}

.journal-list.journal-list--grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  /* Shorthand overrides .journal-list { gap: 4rem } */
  gap: clamp(60px, 5vw, 80px) clamp(0.9rem, 1.8vw, 1.35rem);
  align-items: stretch;
  padding-bottom: 0.5rem;
}

.journal-list.journal-list--grid .journal-card {
  display: flex;
  flex-direction: column;
  grid-template-columns: none;
  gap: 0.75rem;
  align-items: stretch;
  min-width: 0;
  height: 100%;
  margin: 0;
}

.journal-list.journal-list--grid .journal-media {
  width: 100%;
  max-height: none;
  aspect-ratio: 4 / 3;
}

.journal-list.journal-list--grid .journal-card h2,
.journal-list.journal-list--grid .journal-card h3 {
  font-size: clamp(1.1rem, 1.45vw, 1.3rem);
  font-weight: 700;
  margin: 0 0 0.45rem;
}

.journal-list.journal-list--grid .journal-card h2 a,
.journal-list.journal-list--grid .journal-card h3 a {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  color: inherit;
  font-weight: 700;
  transition: color 0.25s var(--ease);
}

.journal-list.journal-list--grid .journal-card h2 a:hover,
.journal-list.journal-list--grid .journal-card h3 a:hover {
  color: var(--accent);
}

.journal-list.journal-list--grid a.journal-media {
  display: block;
}

.journal-list.journal-list--grid .journal-card__body > p:not(.journal-meta) {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  margin: 0 0 0.65rem;
  max-width: none;
  font-size: 0.9rem;
}

.journal-list.journal-list--grid .journal-meta {
  margin: 0 0 0.4rem;
}

.journal-infinite {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2.5rem;
  margin-top: 1.25rem;
}

.journal-infinite[hidden] {
  display: none;
}

.journal-infinite__loading {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.journal-articles .journal-pagination.is-infinite-replaced {
  display: none;
}

.journal-card {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
}

.journal-media {
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--bg-soft);
  border-radius: var(--radius);
}

.journal-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}

.journal-card:hover .journal-media img {
  transform: scale(1.04);
}

.journal-meta {
  display: block;
  margin: 0 0 1rem;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0;
  text-transform: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.journal-meta__primary,
.journal-meta__cats {
  display: inline;
}

.journal-meta__read {
  text-transform: capitalize;
  letter-spacing: 0.02em;
}

.journal-meta__sep {
  white-space: pre;
}

.journal-meta .journal-cat {
  color: inherit;
  font-weight: inherit;
  transition: color 0.5s ease;
}

.journal-meta .journal-cat:hover {
  color: var(--accent);
}

.journal-card h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.6rem, 3vw, 2.35rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.journal-card p {
  margin: 0 0 1.5rem;
  color: var(--ink-soft);
  max-width: 34rem;
}

.journal-card.is-hidden {
  display: none;
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  margin: 2.5rem 0 0;
  padding-top: 0.5rem;
}

.pagination a,
.pagination span {
  min-width: 2.35rem;
  height: 2.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.45rem;
  border-radius: var(--radius);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-soft);
  border: 1px solid transparent;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.pagination a:hover {
  color: var(--ink);
  border-color: var(--line);
}

.pagination a.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--bg);
  font-weight: 600;
}

.pagination__btn {
  font-size: 1.15rem;
  line-height: 1;
}

.pagination__ellipsis {
  color: var(--muted);
  pointer-events: none;
}

/* ---------- Single post ---------- */
.container--reading {
  width: min(100% - (var(--pad-x) * 2), 1000px);
  margin-inline: auto;
}

.container--reading-wide {
  width: min(100% - (var(--pad-x) * 2), 1000px);
  margin-inline: auto;
}

/* Single post only — WP also adds `.post` to journal cards via post_class() */
.single-post article.post:not(.journal-card) {
  padding: clamp(2.75rem, 5vw, 4rem) 0 clamp(2rem, 4vw, 3rem);
}

.single-post .inside-article.container--reading {
  max-width: 1000px;
}

.post-breadcrumbs {
  margin: 0 0 0.75rem;
  text-align: center;
  max-width: 100%;
  width: 100%;
  display: flex;
  justify-content: center;
}

.post-breadcrumbs__list {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 0.15rem 0.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
  max-width: 100%;
  min-width: 0;
}

.post-breadcrumbs__item {
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 0;
  flex: 0 0 auto;
  min-width: 0;
}

.post-breadcrumbs__item[aria-current="page"] {
  flex: 1 1 auto;
  min-width: 0;
  max-width: 100%;
}

.post-breadcrumbs__item[aria-current="page"] .post-breadcrumbs__crumb {
  display: flex;
  width: 100%;
  min-width: 0;
}

.post-breadcrumbs__crumb {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-width: 0;
  max-width: 100%;
}

.post-breadcrumbs__link,
.post-breadcrumbs__current {
  display: inline-flex;
  align-items: center;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.01em;
  text-decoration: none;
}

/* Beat GP Customizer `.inside-article a { color: accent }`. */
.inside-article .post-breadcrumbs a.post-breadcrumbs__link {
  color: var(--ink-soft, #3a342e);
  transition: color 0.25s var(--ease);
}

.inside-article .post-breadcrumbs a.post-breadcrumbs__link:hover,
.inside-article .post-breadcrumbs a.post-breadcrumbs__link:focus {
  color: var(--accent, #e07f3d);
}

.post-breadcrumbs__link--home {
  gap: 0.35rem;
}

.post-breadcrumbs__current {
  display: block;
  color: var(--clay, #8a7d70);
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.post-breadcrumbs__icon {
  display: block;
  flex-shrink: 0;
  color: inherit;
}

.post-breadcrumbs__icon--home {
  width: 1rem;
  height: 1rem;
  margin-top: -1px;
}

.post-breadcrumbs__icon--sep {
  width: 0.875rem;
  height: 0.875rem;
  color: var(--clay, #8a7d70);
  opacity: 0.85;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .post-breadcrumbs__list {
    gap: 0.1rem 0.25rem;
  }

  .post-breadcrumbs__link,
  .post-breadcrumbs__current {
    font-size: 0.85rem;
  }

  .post-breadcrumbs__crumb {
    gap: 0.3rem;
  }
}

.post-author {
  margin: 0 0 1.25rem;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.post-author a {
  color: inherit;
  font-weight: 600;
  transition: color 0.25s var(--ease);
}

.post-author a:hover {
  color: var(--accent);
}

.post-footer:not(:has(.post-tags)) {
  margin: 0;
  padding: 0;
  border: 0;
}

.post-meta {
  display: block;
  margin: 0 0 2rem;
  color: var(--contrast, var(--ink-soft));
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.post-meta__primary,
.post-meta__cats {
  display: inline;
}

.post-meta__read {
  text-transform: capitalize;
  letter-spacing: 0.02em;
}

.post-meta__sep {
  white-space: pre;
}

.post-meta .post-meta__cat {
  color: inherit;
  font-weight: inherit;
  transition: color 0.5s ease;
}

.post-meta .post-meta__cat:hover {
  color: var(--accent);
}

.post-title,
.single-post .entry-title.post-title {
  margin: 0 0 1.15rem;
  font-size: clamp(3rem, 5.645vw + 0.29rem, 4.75rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  max-width: 100%;
  width: 100%;
  color: var(--ink);
  text-align: center;
  text-wrap: balance;
}

.post-hero {
  --post-hero-w: min(1160px, 100vw - (var(--pad-x) * 2));
  width: var(--post-hero-w);
  max-width: none;
  height: min(550px, calc(var(--post-hero-w) * 9 / 16));
  max-height: 550px;
  margin: 0 0 2.5rem;
  margin-inline: calc(50% - (var(--post-hero-w) / 2));
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--bg-soft);
}

.post-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.post-content,
.single-post .entry-content.post-content {
  color: var(--ink-soft);
  font-size: 1.125rem; /* ~18px — GP Trainer entry content */
  line-height: 1.6;
  max-width: 100%;
}

.post-content > * + * {
  margin-top: 1.35rem;
}

/* Accidental H1 in body demoted to H2 scale (PHP also demotes tags). SEO: one H1 = title. */
.post-content h1,
.post-content h2 {
  margin: 2.75rem 0 1.15rem;
  font-size: clamp(1.65rem, 2.8vw, 2.15rem);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.post-content > h1:first-child,
.post-content > h2:first-child {
  margin-top: 0;
}

.post-content h3 {
  margin: 2.25rem 0 0.95rem;
  font-size: clamp(1.3rem, 2vw, 1.55rem);
  font-weight: 700;
  line-height: 1.28;
  color: var(--ink);
}

.post-content h4 {
  margin: 2rem 0 0.85rem;
  font-size: clamp(1.15rem, 1.6vw, 1.3rem);
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink);
}

.post-content h5 {
  margin: 1.75rem 0 0.7rem;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--ink);
}

.post-content h6 {
  margin: 1.5rem 0 0.65rem;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.post-content p {
  margin: 0;
}

.post-content a {
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
  transition: color 0.25s var(--ease);
}

.post-content a:hover {
  color: var(--ink);
}

.post-content strong,
.post-content b {
  font-weight: 700;
  color: var(--ink);
}

.post-content em,
.post-content i {
  font-style: italic;
}

.post-content mark {
  background: color-mix(in srgb, var(--accent) 22%, transparent);
  color: var(--ink);
  padding: 0.05em 0.2em;
}

.post-content small {
  font-size: 0.88em;
}

.post-content abbr[title] {
  text-decoration: underline dotted;
  cursor: help;
}

.post-content code,
.post-content kbd,
.post-content samp {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.9em;
  padding: 0.12em 0.35em;
  border-radius: 3px;
  background: var(--bg-soft);
  color: var(--ink);
}

.post-content pre {
  margin: 1.75rem 0;
  padding: 1.15rem 1.25rem;
  overflow-x: auto;
  border-radius: var(--radius);
  background: var(--bg-soft);
  font-size: 0.92rem;
  line-height: 1.55;
}

.post-content pre code {
  padding: 0;
  background: none;
}

.post-content hr {
  margin: 2.5rem 0;
  border: 0;
  border-top: 1px solid var(--line);
}

.post-content figure,
.post-content .wp-block-image,
.post-content .wp-block-gallery {
  margin: 2rem 0;
  max-width: 100%;
}

.post-content img,
.post-content .wp-block-image img,
.post-content figure img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
  margin-inline: auto;
}

.post-content .alignwide,
.post-content .alignfull {
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
}

.post-content figcaption,
.post-content .wp-element-caption {
  margin-top: 0.65rem;
  font-size: 0.85rem;
  color: var(--muted);
  text-align: center;
}

.post-content .page-links {
  margin-top: 2rem;
  font-weight: 600;
}

.post-footer {
  margin-top: clamp(2rem, 4vw, 2.75rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.post-tags__label {
  display: block;
  margin: 0 0 0.85rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.post-tags__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.65rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.post-tags__list li {
  margin: 0;
  padding: 0;
}

.post-tags__list a {
  display: inline-block;
  padding: 0.35rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease), background 0.25s var(--ease);
}

.post-tags__list a:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.post-comments {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.post-comments-section {
  padding: clamp(2.5rem, 5vw, 3.5rem) 0;
  background: var(--bg-form);
}

/* Flowbite-inspired discussion (theme tokens) */
.melekgur-discussion__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.post-comments .comments-title,
.post-comments .comment-reply-title {
  margin: 0;
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.post-comments .comment-reply-title {
  margin: 0;
  font-size: 0;
  line-height: 0;
  color: transparent;
}

.post-comments .comment-reply-title #cancel-comment-reply-link {
  display: inline-block;
  margin: 0 0 0.85rem;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0;
  text-transform: none;
  color: var(--muted);
}

.post-comments .comment-reply-title #cancel-comment-reply-link:hover {
  color: var(--accent);
}

.post-comments .comment-notes {
  margin: 0 0 1rem;
  font-size: 0.85rem;
  color: var(--ink-soft);
  line-height: 1.5;
}

.post-comments .comment-notes .required,
.post-comments .comment-form .required {
  color: var(--accent);
}

.post-comments .comment-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Initial: first 3 top-level threads; rest revealed via Load more */
.post-comments.has-comment-load-more .comment-list > li:nth-child(n + 4):not(.is-comment-shown) {
  display: none;
}

.comments-load-more-wrap {
  display: flex;
  justify-content: center;
  margin: 1.5rem 0 0;
}

.comments-load-more-wrap.is-exhausted {
  margin-top: 1.25rem;
}

.comments-no-more {
  margin: 0;
  width: 100%;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
}

.comments-load-more,
.comment-replies-load-more {
  min-width: 11rem;
}

/* Nested replies */
.post-comments .comment-list > li > .children {
  display: none;
  margin: 0 0 0.75rem 1.5rem;
  padding: 0;
  list-style: none;
  border: 0;
}

@media (min-width: 1024px) {
  .post-comments .comment-list > li > .children {
    margin-left: 3rem;
  }
}

.post-comments .comment-list > li.is-replies-open > .children {
  display: block;
}

.post-comments .comment-list > li.is-replies-open > .children > li {
  display: none;
}

.post-comments .comment-list > li.is-replies-open > .children > li.is-reply-shown {
  display: list-item;
}

.post-comments .comment-list > li > .children .children {
  margin: 0;
  padding: 0;
  border: 0;
  list-style: none;
}

.comment-replies-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0.15rem 0 0.85rem 1.5rem;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  background-color: transparent;
  box-shadow: none;
  appearance: none;
  -webkit-appearance: none;
  color: var(--accent);
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0;
  line-height: inherit;
  text-transform: none;
  cursor: pointer;
  transition: color 0.25s var(--ease);
}

@media (min-width: 1024px) {
  .comment-replies-toggle {
    margin-left: 3rem;
  }
}

.comment-replies-toggle:hover,
.comment-replies-toggle:focus,
.comment-replies-toggle:focus-visible,
.comment-replies-toggle:active {
  background: transparent;
  background-color: transparent;
  border-color: transparent;
  box-shadow: none;
  outline: none;
  color: var(--ink);
}

.comment-replies-toggle__label {
  font-weight: inherit;
  color: inherit;
}

.comment-replies-toggle__icon {
  display: inline-block;
  width: 0.7rem;
  height: 0.7rem;
  flex-shrink: 0;
  background-color: currentColor;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none'%3E%3Cpath stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round' d='M2.5 4.25 6 7.75 9.5 4.25'/%3E%3C/svg%3E") center / contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none'%3E%3Cpath stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round' d='M2.5 4.25 6 7.75 9.5 4.25'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform 0.2s var(--ease);
}

.comment-replies-toggle[aria-expanded="true"] .comment-replies-toggle__icon {
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none'%3E%3Cpath stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round' d='M2.5 7.75 6 4.25 9.5 7.75'/%3E%3C/svg%3E") center / contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none'%3E%3Cpath stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round' d='M2.5 7.75 6 4.25 9.5 7.75'/%3E%3C/svg%3E") center / contain no-repeat;
}

.comment-replies-load-more-wrap {
  display: flex;
  justify-content: flex-start;
  margin: 0 0 1rem 1.5rem;
}

@media (min-width: 1024px) {
  .comment-replies-load-more-wrap {
    margin-left: 3rem;
  }
}

.comment-replies-load-more-wrap[hidden] {
  display: none !important;
}

.post-comments .comment-content .comment-mention {
  color: var(--accent);
  font-weight: 700;
}

/* Comment card — Flowbite-style solid cards in light cream */
.post-comments .comment-body {
  margin: 0 0 0.75rem;
  padding: 1.5rem;
  border: 0;
  border-radius: var(--radius);
  background: var(--bg);
  box-shadow: none;
}

.post-comments .children > li > .comment-body {
  margin-bottom: 0.75rem;
  padding: 1.25rem 1.5rem;
  background: var(--bg);
  border-radius: var(--radius);
  border-top: 0;
}

.post-comments .comment-meta {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 0;
  margin: 0 0 0.35rem;
  padding: 0;
  border: 0;
  font-size: 0.875rem;
  color: var(--muted);
}

.post-comments .comment-avatar--initials {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  margin: 0 0.65rem 0 0;
  border-radius: 999px;
  background: var(--bg-form);
  color: var(--ink);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
  flex-shrink: 0;
  user-select: none;
}

.post-comments .comment-meta > img.avatar,
.post-comments .comment-meta .avatar {
  display: none;
}

.post-comments .comment-author-info {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.85rem;
  min-width: 0;
}

.post-comments .comment-author {
  display: inline-flex;
  align-items: center;
  margin: 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink);
}

.post-comments .comment-author .fn,
.post-comments .comment-author .fn a {
  font-style: normal;
  font-weight: 600;
  color: var(--ink);
}

.post-comments .comment-metadata,
.post-comments .comment-metadata a,
.post-comments .comment-metadata time {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--muted);
  text-decoration: none;
}

.post-comments .comment-metadata a:hover,
.post-comments .comment-metadata a:hover time {
  color: var(--accent);
}

.post-comments .comment-content {
  margin-top: 0.2rem !important;
  padding: 0 !important;
  border: 0 !important;
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.65;
}

.post-comments .comment-content::before,
.post-comments .comment-content::after {
  display: none !important;
  content: none !important;
}

.post-comments .comment-content p {
  margin: 0;
}

.post-comments .comment-content p + p {
  margin-top: 0.75rem;
}

.post-comments .comment-content .reply {
  display: flex;
  align-items: center;
  margin: 1rem 0 0;
}

.post-comments .comment-reply-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

.post-comments .comment-reply-link::before {
  content: "";
  display: inline-block;
  width: 0.9rem;
  height: 0.9rem;
  flex-shrink: 0;
  background-color: currentColor;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 18'%3E%3Cpath stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M5 5h5M5 8h2m6-3h2m-5 3h6m2-7H2a1 1 0 0 0-1 1v9a1 1 0 0 0 1 1h3v5l5-5h8a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1Z'/%3E%3C/svg%3E") center / contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 18'%3E%3Cpath stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M5 5h5M5 8h2m6-3h2m-5 3h6m2-7H2a1 1 0 0 0-1 1v9a1 1 0 0 0 1 1h3v5l5-5h8a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.post-comments .comment-reply-link:hover,
.post-comments .comment-reply-link:focus-visible {
  color: var(--accent);
  text-decoration: underline;
  background: transparent;
}

/* Comment form */
.post-comments .comment-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 1.25rem;
  margin: 0 0 1.75rem;
}

.post-comments .comment-form-comment,
.post-comments .comment-notes,
.post-comments .comment-form-cookies-consent,
.post-comments .form-submit,
.post-comments .logged-in-as {
  grid-column: 1 / -1;
}

.post-comments .comment-form-cookies-consent {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0.35rem 0 0;
}

.post-comments .comment-form-cookies-consent input[type="checkbox"] {
  -webkit-appearance: none;
  appearance: none;
  width: 1rem;
  height: 1rem;
  margin: 0;
  padding: 0;
  flex-shrink: 0;
  align-self: center;
  border: 1px solid var(--line);
  border-radius: 2px;
  background-color: transparent;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 0.7rem 0.7rem;
  cursor: pointer;
  vertical-align: middle;
  box-shadow: none;
  outline: none;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.post-comments .comment-form-cookies-consent input[type="checkbox"]:hover,
.post-comments .comment-form-cookies-consent input[type="checkbox"]:focus,
.post-comments .comment-form-cookies-consent input[type="checkbox"]:focus-visible,
.post-comments .comment-form-cookies-consent input[type="checkbox"]:active {
  outline: none;
  box-shadow: none;
  border: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.post-comments .comment-form-cookies-consent input[type="checkbox"]:checked,
.post-comments .comment-form-cookies-consent input[type="checkbox"]:checked:hover,
.post-comments .comment-form-cookies-consent input[type="checkbox"]:checked:focus,
.post-comments .comment-form-cookies-consent input[type="checkbox"]:checked:focus-visible,
.post-comments .comment-form-cookies-consent input[type="checkbox"]:checked:active {
  border: 1px solid var(--accent);
  border-bottom: 1px solid var(--accent);
  background-color: var(--accent);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M2.5 6.2L4.8 8.5 9.5 3.5'/%3E%3C/svg%3E");
  outline: none;
  box-shadow: none;
}

.post-comments .comment-form .comment-form-cookies-consent label {
  display: inline;
  margin: 0;
  padding: 0;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink-soft);
  line-height: 1.25;
  align-self: center;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
}

.post-comments .comment-form .form-submit {
  margin: 0.85rem 0 0;
}

.post-comments .comment-form label {
  display: block;
  margin: 0 0 0.4rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.post-comments .comment-form .comment-form-comment > label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.post-comments .comment-form .required {
  color: var(--accent);
}

.post-comments .comment-form p {
  margin: 0 0 1rem;
}

.post-comments .comment-form-comment {
  margin-bottom: 1rem;
  padding: 0.5rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
}

.post-comments .comment-form input[type="text"],
.post-comments .comment-form input[type="email"] {
  width: 100%;
  max-width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--ink);
  font: inherit;
  box-shadow: none;
}

.post-comments .comment-form textarea {
  width: 100%;
  max-width: 100%;
  padding: 0.65rem 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 0.925rem;
  line-height: 1.55;
  box-shadow: none;
  resize: vertical;
  height: auto;
  min-height: 8rem;
  max-height: none;
  overflow-y: auto;
}

.post-comments .comment-form input[type="text"]:focus,
.post-comments .comment-form input[type="email"]:focus {
  outline: none;
  border-color: var(--accent);
}

.post-comments .comment-form textarea:focus {
  outline: none;
  box-shadow: none;
}

.post-comments .comment-form .submit,
.post-comments .comment-form input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.15rem;
  border: 0;
  border-radius: var(--radius);
  background: var(--mg-btn-bg, var(--accent));
  color: var(--mg-btn-color, #fff);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}

.post-comments .comment-form .submit:hover,
.post-comments .comment-form input[type="submit"]:hover {
  background: var(--mg-btn-bg-hover, var(--contrast));
  color: var(--mg-btn-color-hover, #fff);
}

@media (max-width: 640px) {
  .post-comments .comment-form {
    grid-template-columns: 1fr;
  }

  .post-comments .comment-list > li > .children,
  .comment-replies-toggle,
  .comment-replies-load-more-wrap {
    margin-left: 1rem;
  }
}

.post-content ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.65rem;
}

.post-content > * + ul,
.post-content > * + ol {
  margin-top: 1.15rem;
}

.post-content ul > li {
  position: relative;
  padding-left: 1.15rem;
}

.post-content ul > li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

.post-content ol {
  margin: 0;
  padding: 0 0 0 1.25rem;
  display: grid;
  gap: 0.65rem;
}

.post-content ol > li {
  padding-left: 0.35rem;
}

.post-content ol > li::marker {
  color: var(--accent);
  font-weight: 700;
}

.post-content ul ul,
.post-content ol ol,
.post-content ul ol,
.post-content ol ul {
  margin-top: 0.55rem;
  gap: 0.45rem;
}

.post-content blockquote {
  margin: 2rem 0;
  padding: 0.35rem 0 0.35rem 1.35rem;
  border-left: 3px solid var(--accent);
  color: var(--ink);
  font-size: 1.2rem;
  font-style: italic;
  line-height: 1.55;
}

.post-content blockquote p {
  margin: 0;
}

.post-content blockquote p + p {
  margin-top: 0.85rem;
}

.post-content blockquote cite {
  display: block;
  margin-top: 0.85rem;
  font-style: normal;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.post-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.75rem 0;
  font-size: 0.98rem;
}

.post-content th,
.post-content td {
  padding: 0.75rem 0.85rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.post-content th {
  font-weight: 700;
  color: var(--ink);
  border-bottom-color: var(--ink);
}

.post-content dl {
  margin: 0;
  display: grid;
  gap: 0.85rem;
}

.post-content dt {
  font-weight: 700;
  color: var(--ink);
}

.post-content dd {
  margin: 0.25rem 0 0;
  color: var(--ink-soft);
}

.related-articles {
  background: var(--bg-form);
  padding-top: clamp(3rem, 6vw, 4.5rem);
  padding-bottom: clamp(3rem, 6vw, 4.5rem);
}

.related-articles .section-title {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  margin: 0 0 1.75rem;
}

.related-articles .journal-list.journal-list--grid {
  padding-bottom: 0;
}

/* Single related cards: shorter media on desktop; mobile keeps natural ~260px from aspect-ratio */
@media (min-width: 769px) {
  .related-articles .journal-list.journal-list--grid .journal-media {
    aspect-ratio: auto;
    height: 250px;
    max-height: 250px;
  }

  .related-articles .journal-list.journal-list--grid .journal-media img {
    height: 100%;
    object-fit: cover;
  }
}

/* ---------- Why / Credentials ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.why-card {
  padding-top: 1.25rem;
  border-top: 1px solid var(--ink);
}

.why-card h3 {
  margin: 0 0 0.75rem;
  font-size: 1.05rem;
  line-height: 1.3;
}

.why-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.why-note {
  margin-top: 2.5rem;
  max-width: 46rem;
  color: var(--ink-soft);
}

/* ---------- Audience ---------- */
.audience-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

.audience-left .section-title {
  margin-bottom: 0;
}

.audience-photo {
  margin-top: clamp(1.5rem, 3vw, 2.25rem);
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 16 / 9;
  max-height: 360px;
  background: var(--bg-soft);
}

.audience-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
  filter: saturate(0.88) contrast(1.04);
}

/* ---------- FAQ accordion ---------- */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.35rem 0;
  border: none;
  background: transparent;
  text-align: left;
  cursor: pointer;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.faq-trigger::after {
  content: "+";
  flex-shrink: 0;
  font-size: 1.4rem;
  font-weight: 300;
  line-height: 1;
  color: var(--accent);
  transition: transform 0.25s var(--ease);
}

.faq-item.is-open .faq-trigger::after {
  content: "−";
}

.faq-panel {
  display: none;
  padding: 0 0 1.5rem;
  color: var(--ink-soft);
}

.faq-item.is-open .faq-panel {
  display: block;
}

.faq-panel p {
  margin: 0 0 0.85rem;
  max-width: 46rem;
}

.faq-panel ul {
  display: grid;
  gap: 0.35rem;
  margin: 0.5rem 0 0;
  padding: 0;
}

.faq-panel li {
  position: relative;
  padding-left: 1rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.faq-panel li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
}

/* ---------- Testimonials ---------- */
.section-testimonials {
  position: relative;
  overflow: hidden;
  background: #0d0d0d;
  color: #f2f2f2;
}

.section-testimonials__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.section-testimonials__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: brightness(0.38) saturate(1.05) contrast(1.05) blur(3.5px);
  transform: scale(1.03);
}

.section-testimonials::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(105deg, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.72) 48%, rgba(0, 0, 0, 0.86) 100%),
    radial-gradient(ellipse 55% 50% at 85% 20%, rgba(224, 127, 61, 0.1), transparent 60%);
}

.section-testimonials .eyebrow:not(.eyebrow--accent) {
  color: var(--stone);
}

.section-testimonials .section-title {
  color: #f8f1e9;
}

.section-testimonials .container {
  position: relative;
  z-index: 2;
  overflow: visible;
}

.testimonials-slider {
  position: relative;
  --t-gap: clamp(1rem, 2.5vw, 1.35rem);
  --t-visible: 3;
}

.testimonials-stage {
  position: relative;
}

.testimonials-viewport {
  container-type: inline-size;
  container-name: testimonials;
  overflow: hidden;
  width: 100%;
}

.testimonials-track {
  display: flex;
  gap: var(--t-gap);
  transition: transform 0.55s var(--ease);
  will-change: transform;
}

.testimonial-item {
  display: flex;
  flex-direction: column;
  flex: 0 0 calc((100cqw - (var(--t-visible) - 1) * var(--t-gap)) / var(--t-visible));
  width: calc((100cqw - (var(--t-visible) - 1) * var(--t-gap)) / var(--t-visible));
  min-width: 0;
}

.testimonial-bubble {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 220px;
  margin: 0;
  padding: 1.35rem 1.25rem 1.5rem;
  background: #2a2a2a;
  border: none;
  border-radius: 14px;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: inherit;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}

.testimonial-bubble:hover {
  background: #323232;
  transform: translateY(-2px);
}

.testimonial-card__quote {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
  line-height: 1.65;
  flex: 1;
}

.testimonial-more {
  color: rgba(255, 255, 255, 0.45);
  text-decoration: underline;
  text-underline-offset: 2px;
  white-space: nowrap;
}

.testimonial-bubble:hover .testimonial-more {
  color: var(--accent);
}

.testimonial-card__meta {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 0.35rem 0.45rem;
  margin: auto 0 0;
  padding: 1rem 0 0;
  text-align: left;
  width: 100%;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.testimonial-card__name,
.testimonial-card__sep,
.testimonial-card__role {
  font-style: normal;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.78);
  text-transform: none;
  line-height: 1.3;
}

.testimonials-arrow {
  position: absolute;
  top: 8rem;
  z-index: 3;
  width: 46px;
  height: 46px;
  padding: 0;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: #1a1a1a;
  border-radius: 50%;
  cursor: pointer;
  display: grid;
  place-items: center;
  place-content: center;
  color: #fff;
  line-height: 0;
  font-size: 0;
  transform: translateY(-50%);
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.testimonials-arrow svg {
  display: block;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.testimonials-arrow--prev {
  left: -5.5rem;
}

.testimonials-arrow--prev svg {
  transform: translateY(1px);
}

.testimonials-arrow--next {
  right: -5.5rem;
}

.testimonials-arrow--next svg {
  transform: translateY(1px);
}

.testimonials-arrow:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: translateY(-50%) scale(1.04);
}

.testimonials-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.85rem;
}

.testimonials-dots__dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
  cursor: pointer;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}

.testimonials-dots__dot:hover {
  background: rgba(255, 255, 255, 0.5);
}

.testimonials-dots__dot.is-active {
  background: var(--accent);
  transform: scale(1.15);
}

.testimonials-disclaimer {
  margin: 1.75rem 0 0;
  max-width: 46rem;
  margin-inline: auto;
  text-align: center;
  font-size: 0.74rem;
  font-style: italic;
  line-height: 1.55;
  color: rgba(248, 241, 233, 0.42);
}

.testimonials-disclaimer em {
  font-style: italic;
}

/* ---------- Home contact ---------- */
.contact-home {
  background: var(--bg);
  color: var(--ink);
}

.contact-home-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

.contact-home-copy .section-title {
  max-width: 12ch;
}

.contact-home-copy .lead {
  margin: 1.25rem 0 0;
  max-width: 28rem;
  color: var(--ink-soft);
}

.contact-home .contact-details {
  margin-top: 2rem;
}

.contact-home-form-wrap {
  background: var(--bg-form);
  border: 1px solid var(--line);
  padding: clamp(1.75rem, 3.5vw, 2.5rem);
  border-radius: var(--radius);
  color: var(--ink);
}

.contact-home-form-wrap .home-contact-form {
  color: var(--ink);
}

.contact-home-form-wrap .field-line label {
  color: var(--ink);
}

.contact-home-form-wrap .field-line input,
.contact-home-form-wrap .field-line textarea,
.contact-home-form-wrap .field-line select {
  color: var(--ink);
  border-bottom-color: var(--line-strong);
}

.contact-home-form-wrap .field-line input::placeholder,
.contact-home-form-wrap .field-line textarea::placeholder {
  color: var(--muted);
  opacity: 0.75;
}

.contact-home-form-wrap .field-line select option {
  background: var(--bg-form);
  color: var(--ink);
}

.contact-home-form-wrap .form-message {
  color: var(--ink-soft);
}

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal.is-open {
  display: flex;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
}

.modal__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 560px);
  max-height: min(85vh, 640px);
  overflow: auto;
  background: var(--bg);
  border-radius: var(--radius);
  padding: clamp(1.75rem, 4vw, 2.5rem);
  box-shadow: 0 24px 60px rgba(26, 26, 26, 0.2);
}

.modal--testimonial .modal__dialog {
  display: flex;
  flex-direction: column;
  width: min(100%, 640px);
  max-height: min(88vh, 720px);
  overflow: hidden;
  background: #2a2a2a;
  border-radius: 14px;
  color: #f2f2f2;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  padding-top: clamp(3.35rem, 5vw, 3.85rem);
  padding-bottom: 0;
}

.modal__close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  color: var(--ink);
}

.modal--testimonial .modal__close {
  top: 0.4rem;
  right: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  font-size: 2.15rem;
  line-height: 0;
  color: rgba(255, 255, 255, 0.7);
  z-index: 2;
  transition: color 0.2s var(--ease);
}

.modal--testimonial .modal__close:hover,
.modal--testimonial .modal__close:focus {
  color: #fff;
  background: transparent;
}

.modal__quote {
  margin: 0 0 1.5rem;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--ink-soft);
}

.modal--testimonial .modal__quote {
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  color: rgba(255, 255, 255, 0.82);
  margin: 0;
  padding-top: 0.85rem;
  padding-right: 0.85rem;
  padding-bottom: 1.25rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.28) rgba(255, 255, 255, 0.06);
}

.modal--testimonial .modal__quote::-webkit-scrollbar {
  width: 8px;
}

.modal--testimonial .modal__quote::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 999px;
}

.modal--testimonial .modal__quote::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.28);
  border-radius: 999px;
}

.modal--testimonial .modal__quote::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.42);
}

.modal--testimonial .modal__quote p {
  margin: 0 0 1rem;
}

.modal--testimonial .modal__quote p:last-child {
  margin-bottom: 0;
}

.modal__cite {
  font-style: normal;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.modal--testimonial .modal__cite {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.45rem;
  letter-spacing: 0.02em;
  text-transform: none;
  font-size: 0.95rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.78);
}

.modal--testimonial .modal__cite .testimonial-card__name,
.modal--testimonial .modal__cite .testimonial-card__sep,
.modal--testimonial .modal__cite .testimonial-card__role {
  font: inherit;
  color: inherit;
  letter-spacing: inherit;
}

.modal__person {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  margin-top: 0;
  padding-top: 1rem;
  padding-bottom: clamp(1.75rem, 4vw, 2.5rem);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: #2a2a2a;
}

body.modal-open {
  overflow: hidden;
}

/* Newsletter popup modal */
.modal--newsletter .modal__backdrop {
  opacity: 1;
  transition: opacity 0.38s var(--ease);
}

.modal--newsletter.is-closing .modal__backdrop {
  opacity: 0;
}

.modal--newsletter .modal__dialog {
  width: min(100%, 420px);
  max-height: min(88vh, 560px);
  padding: 0;
  overflow: hidden;
  background: #121212;
  border-radius: 14px;
  color: rgba(248, 241, 233, 0.9);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.55);
  transform-origin: center center;
  transition: transform 0.48s cubic-bezier(0.4, 0, 0.7, 0.2), opacity 0.42s var(--ease);
  will-change: transform, opacity;
}

.modal--newsletter.is-closing .modal__dialog {
  opacity: 0;
  pointer-events: none;
}

.newsletter-modal__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.newsletter-modal__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
  transform: scale(1.08);
  filter: brightness(0.60) saturate(0.55) contrast(1.05) blur(1px);
}

.newsletter-modal__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 8, 8, 0.62) 0%, rgba(8, 8, 8, 0.78) 45%, rgba(8, 8, 8, 0.9) 100%),
    radial-gradient(ellipse 70% 50% at 15% 100%, rgba(224, 127, 61, 0.1), transparent 60%);
}

.newsletter-modal__content {
  position: relative;
  z-index: 1;
  padding: clamp(2.1rem, 4vw, 2.6rem);
  padding-top: 2.85rem;
}

.modal--newsletter .modal__close {
  z-index: 2;
  top: 0.7rem;
  right: 0.7rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.35);
  color: rgba(248, 241, 233, 0.75);
  font-size: 1.55rem;
}

.modal--newsletter .modal__close:hover {
  color: #fff;
  background: rgba(0, 0, 0, 0.5);
}

.newsletter-modal__eyebrow {
  margin: 0 0 0.65rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.45);
}

.newsletter-modal__title {
  margin: 0 0 0.85rem;
  font-size: clamp(1.55rem, 3.5vw, 1.9rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #f8f1e9;
  max-width: 14ch;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.55);
}

.newsletter-modal__text {
  margin: 0 0 1.5rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(248, 241, 233, 0.9);
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.5);
}

.newsletter-modal__form {
  display: grid;
  gap: 0.85rem;
}

.newsletter-modal__form .field-line input {
  color: #f8f1e9;
  border-bottom-color: rgba(248, 241, 233, 0.28);
}

.newsletter-modal__form .field-line input:focus {
  border-bottom-color: rgba(224, 127, 61, 0.75);
}

.newsletter-modal__form .btn {
  width: 100%;
}

.newsletter-modal__note {
  margin: 0.75rem 0 0;
  font-size: 0.75rem;
  font-style: italic;
  color: rgba(248, 241, 233, 0.62);
  line-height: 1.55;
}

.newsletter-modal__form .form-message {
  margin: 0.65rem 0 0;
  font-size: 0.85rem;
  color: rgba(248, 241, 233, 0.78);
}

.newsletter-modal__form .form-message.is-visible {
  display: block;
}

/* ---------- About page ---------- */
.section-about-row {
  padding: clamp(4rem, 9vw, 7rem) 0;
}

.page-hero--label + .section-about-row {
  padding-top: clamp(2.5rem, 5vw, 3.5rem);
}

.about-block .eyebrow {
  margin: 0 0 0.85rem;
}

.about-block .eyebrow--accent {
  color: var(--accent);
}

.about-block h1,
.about-block h2,
.about-block .section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.2vw, 3.35rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 1.5rem;
}

.about-block p {
  margin: 0 0 1rem;
  color: var(--ink-soft);
  max-width: 46rem;
}

.about-expand__cut {
  letter-spacing: 0.02em;
}

.about-expand__end {
  display: none;
}

.about-expand__toggle {
  display: inline;
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  box-shadow: none;
  border-radius: 0;
  color: var(--clay);
  font: inherit;
  font-size: inherit;
  line-height: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.25s var(--ease);
}

.about-expand__toggle:hover,
.about-expand__toggle:focus {
  color: var(--accent);
  background: none;
  box-shadow: none;
}

.about-expand__more {
  display: none;
}

.about-expand.is-expanded .about-expand__cut {
  display: none;
}

.about-expand.is-expanded .about-expand__end {
  display: inline;
}

.about-expand.is-expanded .about-expand__more {
  display: block;
}

.about-expand__toggle--less {
  display: none;
  margin-top: 0.35rem;
}

.about-expand.is-expanded .about-expand__toggle--less {
  display: inline-block;
}

.about-split {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}

.about-split--reverse {
  grid-template-columns: 1fr 1.05fr;
}

.about-split .about-block {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.about-split .about-media,
.about-split .about-media--landscape {
  position: relative;
  aspect-ratio: 4 / 5;
  width: 100%;
  max-width: none;
  height: auto;
  min-height: 0;
  max-height: 400px;
  align-self: center;
  justify-self: stretch;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--bg-soft);
  transition: max-height 0.4s var(--ease), aspect-ratio 0.4s var(--ease);
}

.about-split.is-media-expanded .about-media,
.about-split.is-media-expanded .about-media--landscape,
.about-split:has(.about-expand.is-expanded) .about-media,
.about-split:has(.about-expand.is-expanded) .about-media--landscape {
  max-height: 550px;
  aspect-ratio: 3 / 4;
}

.about-split .about-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.about-split .about-media--landscape img {
  object-position: center 22%;
}

.about-split .about-media--event img {
  object-position: center 35%;
}

.about-split--reverse .about-media--landscape img {
  object-position: center 40%;
}

.cred-list,
.edu-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 1rem;
}

.cred-list li,
.edu-list li {
  padding: 0.95rem 0;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
}

.cred-list li:last-child,
.edu-list li:last-child {
  border-bottom: 1px solid var(--line);
}

.lifestyle-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.75rem;
}

.lifestyle-grid .about-media {
  aspect-ratio: 3 / 4;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(2rem, 5vw, 4rem);
  padding-bottom: 5rem;
  align-items: start;
}

.contact-aside-media {
  margin: 1.75rem 0 0;
  overflow: hidden;
  border-radius: var(--radius);
  width: 100%;
  max-width: none;
  aspect-ratio: 16 / 9;
  max-height: 280px;
  background: var(--bg-soft);
}

.contact-aside-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  display: block;
}

.contact-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin-top: 1.25rem;
}

.contact-socials a {
  font-size: 0.95rem;
}

.contact-details {
  margin-top: 2rem;
}

.contact-detail {
  padding: 1.25rem 0;
  border-top: 1px solid var(--line);
}

.contact-detail:last-child {
  border-bottom: 1px solid var(--line);
}

.contact-detail span {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.45rem;
}

.contact-detail a,
.contact-detail p {
  margin: 0;
  font-size: 1.05rem;
}

body.melekgur-site .contact-detail a,
body.melekgur-site .contact-socials a {
  color: var(--ink-soft);
  transition: color 0.25s var(--ease);
}

body.melekgur-site .contact-detail a:hover,
body.melekgur-site .contact-detail a:focus,
body.melekgur-site .contact-socials a:hover,
body.melekgur-site .contact-socials a:focus {
  color: var(--accent);
}

.contact-form-wrap {
  background: var(--bg-form);
  border: 1px solid var(--line);
  padding: clamp(1.75rem, 4vw, 2.75rem);
  border-radius: var(--radius);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.contact-form-wrap .field-line input,
.contact-form-wrap .field-line textarea,
.contact-form-wrap .field-line select,
.contact-form .field-line input,
.contact-form .field-line textarea,
.contact-form .field-line select {
  color: var(--ink);
  border-bottom-color: var(--line-strong);
}

.contact-form-wrap .field-line select option,
.contact-form .field-line select option {
  background: var(--bg-form);
  color: var(--ink);
}

.contact-form .field-line textarea {
  min-height: 7rem;
  resize: vertical;
}

.contact-form .btn {
  align-self: flex-start;
  margin-top: 0.5rem;
}

/* ---------- Mobile ---------- */
@media (max-width: 980px) {
  .hero-panel,
  .quiet-grid,
  .about-grid,
  .feeling-grid,
  .newsletter-grid,
  .contact-grid,
  .contact-home-grid,
  .audience-grid,
  .section-head.split,
  .reset-body,
  .credentials-layout {
    grid-template-columns: 1fr;
  }

  .education-block {
    padding-left: 0;
    border-left: none;
    padding-top: 0.25rem;
  }

  .journal-list.journal-list--grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ways-grid,
  .programme-grid,
  .results-grid,
  .footer-grid,
  .why-grid,
  .about-split,
  .lifestyle-grid {
    grid-template-columns: 1fr 1fr;
  }

  .testimonials-slider {
    --t-visible: 1;
  }

  .testimonials-arrow {
    display: none !important;
  }

  .testimonials-viewport {
    touch-action: pan-y;
    cursor: grab;
  }

  .testimonial-bubble {
    min-height: 0;
  }

  .audience-photo {
    aspect-ratio: 16 / 9;
    max-height: 320px;
  }

  .about-grid--duo .about-media--secondary {
    right: -4%;
    bottom: -6%;
    width: 48%;
  }

  .home-top {
    height: auto;
    max-height: none;
    overflow: visible;
  }

  .hero--panel,
  .hero-panel {
    min-height: auto;
    height: auto;
  }

  .hero-panel {
    display: flex;
    flex-direction: column;
  }

  .hero--panel .hero-media {
    order: -1;
    min-height: 58vw;
    max-height: 520px;
  }

  .hero--panel .hero-copy {
    order: 1;
    padding: clamp(2rem, 5vw, 3rem) var(--pad-x);
    background:
      radial-gradient(ellipse 110% 85% at 0% 100%, rgba(224, 127, 61, 0.28), transparent 58%),
      transparent;
  }

  .hero--panel .hero-title {
    max-width: none;
  }

  .about-media,
  .feeling-media,
  .reset-visual,
  .about-media-stack {
    width: min(100%, 400px);
    max-height: min(420px, 50vh);
    justify-self: start;
    margin-inline: 0;
  }

  .journal-list.journal-list--grid .journal-media {
    width: 100%;
    max-height: none;
  }

  .reset-visual {
    order: -1;
    min-height: 0;
    width: min(100%, 400px);
    height: auto;
    aspect-ratio: 3 / 4;
    max-height: min(420px, 50vh);
    align-self: start;
  }

  .feeling-grid--programme .feeling-media {
    position: static;
    height: auto;
    aspect-ratio: 3 / 4;
    max-height: min(420px, 50vh);
    align-self: start;
  }
}

@media (max-width: 760px) {
  .credentials-grid {
    grid-template-columns: 1fr;
  }

  .about-split .about-media,
  .about-split .about-media--landscape {
    height: auto;
    min-height: 0;
    max-height: 280px;
    aspect-ratio: 4 / 5;
  }

  .about-split.is-media-expanded .about-media,
  .about-split.is-media-expanded .about-media--landscape,
  .about-split:has(.about-expand.is-expanded) .about-media,
  .about-split:has(.about-expand.is-expanded) .about-media--landscape {
    max-height: 360px;
    aspect-ratio: 3 / 4;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav-right {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 1.25rem var(--pad-x) 1.5rem;
    gap: 1.25rem;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
  }

  .nav-right.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .btn-nav {
    width: 100%;
  }

  .nav-right > .btn-nav {
    margin-left: 0;
  }

  .ways-grid,
  .programme-grid,
  .results-grid,
  .footer-grid,
  .why-grid,
  .testimonials-grid,
  .about-split,
  .lifestyle-grid,
  .journal-list.journal-list--grid {
    grid-template-columns: 1fr;
  }

  .reset-item {
    grid-template-columns: 3rem 1fr;
  }

  .newsletter-form {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .footer-copy {
    white-space: normal;
  }

  .social-rail-icons {
    display: none;
  }

  .header-social {
    border-left: none;
    padding-left: 0;
    margin-left: 0;
  }
}
