/* =========================================================
   CAFÉZIA — FOUNDER / PHILOSOPHY SECTION
========================================================= */

.caf-founder-section {
  --caf-ink: #171512;
  --caf-muted: #6f675c;
  --caf-green: #BBCE8E;
  --caf-bg: #e2dbce;
  --caf-roast: #b7a997;
  --caf-white: #ffffff;
  --caf-dot-spacing: 0.15em;

  position: relative;
  isolation: isolate;
  overflow: hidden;

  width: 100%;
  padding: clamp(42px, 5.4vw, 78px) clamp(16px, 4vw, 58px) clamp(22px, 3vw, 34px);

  border-radius: clamp(26px, 3vw, 44px);

  background:
    radial-gradient(circle at 10% 18%, rgba(187, 206, 142, 0.24), transparent 31%),
    radial-gradient(circle at 92% 8%, rgba(226, 219, 206, 0.72), transparent 34%),
    linear-gradient(135deg, #ffffff 0%, #fbfaf7 45%, #f1eee7 100%);

  box-shadow:
    0 22px 64px rgba(23, 21, 18, 0.06),
    inset 0 1px 0 rgba(255,255,255,0.86);
}

.caf-founder-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -4;

  background-image:
    linear-gradient(rgba(23, 21, 18, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 21, 18, 0.022) 1px, transparent 1px);
  background-size: 44px 44px;

  opacity: 0.42;
  mask-image: linear-gradient(to bottom, black, transparent 78%);
  -webkit-mask-image: linear-gradient(to bottom, black, transparent 78%);
}

.caf-founder-section__inner {
  width: min(1440px, 100%);
  margin: 0 auto;

  display: grid;
  grid-template-columns: minmax(320px, 0.42fr) minmax(0, 0.58fr);
  gap: clamp(34px, 5vw, 78px);
  align-items: center;
}

.caf-founder-section__orb {
  position: absolute;
  z-index: -3;
  border-radius: 999px;
  pointer-events: none;
  filter: blur(28px);
}

.caf-founder-section__orb--one {
  width: 320px;
  height: 320px;
  left: -120px;
  bottom: 70px;
  background: rgba(187, 206, 142, 0.3);
  animation: cafFounderOrbOne 10s ease-in-out infinite;
}

.caf-founder-section__orb--two {
  width: 250px;
  height: 250px;
  right: -90px;
  top: -90px;
  background: rgba(226, 219, 206, 0.8);
  animation: cafFounderOrbTwo 12s ease-in-out infinite;
}

.caf-founder-section__leaf {
  position: absolute;
  z-index: -1;
  width: clamp(170px, 18vw, 280px);
  height: auto;

  fill: none;
  stroke: rgba(183, 169, 151, 0.32);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;

  pointer-events: none;
}

.caf-founder-section__leaf--one {
  right: clamp(18px, 4vw, 70px);
  top: clamp(24px, 5vw, 80px);
  opacity: 0.52;
  animation: cafFounderLeafFloat 9s ease-in-out infinite;
}

.caf-founder-section__leaf--two {
  left: clamp(10px, 3vw, 40px);
  bottom: clamp(110px, 10vw, 160px);
  width: clamp(130px, 13vw, 210px);
  opacity: 0.18;
  transform: rotate(180deg);
}

.caf-founder-section__visual {
  position: relative;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.caf-founder-section.is-visible .caf-founder-section__visual,
.elementor-editor-active .caf-founder-section__visual,
.elementor-editor-preview .caf-founder-section__visual {
  opacity: 1;
  transform: translateY(0);
}

.caf-founder-section__photo-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;

  aspect-ratio: 4 / 5;
  max-height: 610px;
  min-height: 460px;

  border-radius: 34px;

  background:
    linear-gradient(145deg, rgba(255,255,255,0.82), rgba(226, 219, 206, 0.45));

  border: 1px solid rgba(183, 169, 151, 0.24);

  box-shadow:
    0 26px 70px rgba(23, 21, 18, 0.095),
    inset 0 1px 0 rgba(255,255,255,0.88);

  transition: transform 0.22s ease;
}

.caf-founder-section__photo-card::before {
  content: "";
  position: absolute;
  inset: 18px;
  z-index: 2;

  border-radius: 26px;
  border: 1px solid rgba(255,255,255,0.52);
  pointer-events: none;
}

.caf-founder-section__photo-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;

  height: 42%;

  background:
    linear-gradient(
      to top,
      rgba(23, 21, 18, 0.46) 0%,
      rgba(23, 21, 18, 0.18) 46%,
      rgba(23, 21, 18, 0) 100%
    );

  pointer-events: none;
}

.caf-founder-section__photo-card img {
  width: 100%;
  height: 100%;
  display: block;

  object-fit: cover;
  object-position: center;

  transform: scale(1.015);
  transition:
    transform 0.75s ease,
    filter 0.75s ease;
}

.caf-founder-section__photo-card:hover img {
  transform: scale(1.055);
  filter: saturate(1.04) contrast(1.03);
}

.caf-founder-section__photo-glow {
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: -22px;
  z-index: -1;

  height: 90px;
  border-radius: 999px;
  background: rgba(187, 206, 142, 0.32);
  filter: blur(24px);
}

.caf-founder-section__badge {
  position: absolute;
  left: 26px;
  right: 26px;
  bottom: 26px;
  z-index: 4;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  padding: 13px 16px;

  border-radius: 999px;

  color: #ffffff;
  background: rgba(23, 21, 18, 0.42);
  border: 1px solid rgba(255,255,255,0.28);

  font-size: 13px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;

  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);

  box-shadow:
    0 14px 36px rgba(23, 21, 18, 0.18),
    inset 0 1px 0 rgba(255,255,255,0.2);
}

.caf-founder-section__badge span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--caf-green);
  box-shadow: 0 0 0 7px rgba(187, 206, 142, 0.22);
}

.caf-founder-section__mini-card {
  position: absolute;
  z-index: 6;

  width: min(220px, 52%);
  padding: 15px 17px;

  border-radius: 20px;

  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(183, 169, 151, 0.26);

  box-shadow:
    0 18px 44px rgba(23, 21, 18, 0.075),
    inset 0 1px 0 rgba(255,255,255,0.82);

  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);

  animation: cafFounderMiniFloat 5s ease-in-out infinite;
}

.caf-founder-section__mini-card--one {
  right: -22px;
  top: 18%;
}

.caf-founder-section__mini-card--two {
  left: -18px;
  bottom: 20%;
  animation-delay: 0.8s;
}

.caf-founder-section__mini-card strong {
  display: block;
  margin-bottom: 4px;

  color: var(--caf-ink);
  font-size: 16px;
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -0.025em;
}

.caf-founder-section__mini-card span {
  display: block;

  color: var(--caf-muted);
  font-size: 12px;
  line-height: 1.35;
  font-weight: 400;
}

.caf-founder-section__content {
  position: relative;
  z-index: 2;

  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.8s ease 0.12s, transform 0.8s ease 0.12s;
}

.caf-founder-section.is-visible .caf-founder-section__content,
.elementor-editor-active .caf-founder-section__content,
.elementor-editor-preview .caf-founder-section__content {
  opacity: 1;
  transform: translateY(0);
}

.caf-founder-section__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;

  margin-bottom: 18px;

  color: var(--caf-muted);
  font-size: 12px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.caf-founder-section__eyebrow span {
  width: 38px;
  height: 1px;
  background: var(--caf-roast);
}

.caf-founder-section__content h2 {
  max-width: 760px;
  margin: 0;

  color: var(--caf-ink);
  font-size: clamp(38px, 4.1vw, 66px);
  line-height: 1.02;
  font-weight: 500;
  letter-spacing: -0.06em;
}

.caf-founder-section__content h2 span {
  color: var(--caf-green);
}

.caf-founder-section__lead {
  max-width: 760px;
  margin: 22px 0 0;

  color: var(--caf-muted);
  font-size: clamp(16px, 1.1vw, 19px);
  line-height: 1.72;
  font-weight: 400;
}

.caf-founder-section__lead strong {
  color: var(--caf-ink);
  font-weight: 700;
}

.caf-founder-section__text-stack {
  display: grid;
  gap: 12px;

  margin-top: clamp(22px, 3vw, 34px);
}

.caf-founder-section__text-item {
  position: relative;
  overflow: hidden;

  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  align-items: start;

  padding: 18px 20px;

  border-radius: 22px;

  background: rgba(255,255,255,0.62);
  border: 1px solid rgba(183, 169, 151, 0.18);

  box-shadow:
    0 12px 30px rgba(23, 21, 18, 0.035),
    inset 0 1px 0 rgba(255,255,255,0.76);

  transition:
    transform 0.28s ease,
    border-color 0.28s ease,
    box-shadow 0.28s ease;
}

.caf-founder-section__text-item::after {
  content: "";
  position: absolute;
  top: -80%;
  left: -70%;

  width: 42%;
  height: 220%;

  background: linear-gradient(
    90deg,
    transparent,
    rgba(255,255,255,0.46),
    transparent
  );

  opacity: 0;
  transform: rotate(18deg);
  transition: left 0.58s ease, opacity 0.58s ease;
}

.caf-founder-section__text-item:hover {
  transform: translateX(6px);
  border-color: rgba(187, 206, 142, 0.52);
  box-shadow:
    0 18px 42px rgba(23, 21, 18, 0.055),
    inset 0 1px 0 rgba(255,255,255,0.82);
}

.caf-founder-section__text-item:hover::after {
  left: 120%;
  opacity: 1;
}

.caf-founder-section__dot {
  position: relative;

  width: 34px;
  height: 34px;
  border-radius: 999px;

  background: rgba(187, 206, 142, 0.24);
  border: 1px solid rgba(187, 206, 142, 0.44);
}

.caf-founder-section__dot::before {
  content: "";
  position: absolute;
  inset: 11px;

  border-radius: inherit;
  background: var(--caf-green);
}

.caf-founder-section__dot::after {
  content: "";
  position: absolute;
  inset: 5px;

  border-radius: inherit;
  border: 1px solid rgba(187, 206, 142, 0.5);
  animation: cafFounderDotPulse 2.8s ease-in-out infinite;
}

.caf-founder-section__text-item h3 {
  margin: 0 0 6px;

  color: var(--caf-ink);
  font-size: clamp(18px, 1.25vw, 22px);
  line-height: 1.16;
  font-weight: 500;
  letter-spacing: -0.035em;
}

.caf-founder-section__text-item p {
  margin: 0;

  color: var(--caf-muted);
  font-size: 15px;
  line-height: 1.58;
  font-weight: 400;
}

/* =========================================================
   MANIFESTO BAR WITH IMAGE / VIDEO BACKGROUND
========================================================= */

.caf-founder-section__manifesto {
  position: relative;
  isolation: isolate;
  overflow: hidden;

  width: min(1440px, 100%);
  margin: clamp(34px, 4.5vw, 58px) auto 0;

  border-radius: 30px;

  background: #171512;

  box-shadow:
    0 24px 62px rgba(23, 21, 18, 0.18),
    inset 0 1px 0 rgba(255,255,255,0.14);
}

.caf-founder-section__manifesto-media,
.caf-founder-section__manifesto-video {
  position: absolute;
  inset: 0;
  z-index: 0;

  width: 100%;
  height: 100%;

  opacity: 1;

  filter:
    blur(var(--caf-manifesto-media-blur, 2.2px))
    saturate(var(--caf-manifesto-media-saturation, 0.88))
    contrast(1.08)
    brightness(var(--caf-manifesto-media-brightness, 0.78));

  transform: scale(1.045);

  pointer-events: none;
}

.caf-founder-section__manifesto-media {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: var(--caf-manifesto-bg-position, center center);
}

.caf-founder-section__manifesto-video {
  object-fit: cover;
  object-position: var(--caf-manifesto-bg-position, center center);
}

.caf-founder-section__manifesto::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;

  background:
    radial-gradient(circle at 18% 45%, rgba(187, 206, 142, 0.3), transparent 32%),
    radial-gradient(circle at 82% 26%, rgba(226, 219, 206, 0.13), transparent 34%),
    linear-gradient(
      135deg,
      var(--caf-manifesto-overlay-color, rgba(23, 21, 18, 0.82)) 0%,
      rgba(24, 32, 24, 0.72) 42%,
      var(--caf-manifesto-overlay-color, rgba(23, 21, 18, 0.86)) 100%
    );

  opacity: var(--caf-manifesto-overlay-opacity, 1);
  pointer-events: none;
}

.caf-founder-section__manifesto-bg {
  position: absolute;
  inset: 0;
  z-index: 2;

  background-image:
    linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 38px 38px;

  opacity: 0.18;
  pointer-events: none;
}

.caf-founder-section__manifesto::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;

  background:
    linear-gradient(
      90deg,
      transparent 0%,
      rgba(255,255,255,0.06) 44%,
      rgba(255,255,255,0.18) 50%,
      rgba(255,255,255,0.06) 56%,
      transparent 100%
    );

  transform: translateX(-120%);
  animation: cafFounderBarSheen 5.8s ease-in-out infinite;
  pointer-events: none;
}

.caf-founder-section__manifesto-inner {
  position: relative;
  z-index: 5;

  min-height: clamp(120px, 12vw, 176px);

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  padding: clamp(28px, 4vw, 46px) 18px;
  text-align: center;
}

.caf-founder-section__words {
  display: flex;
  align-items: baseline;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.25em;

  color: #ffffff;

  font-size: clamp(34px, 4.6vw, 72px);
  line-height: 0.98;
  font-weight: 500;
  letter-spacing: -0.06em;

  text-shadow:
    0 4px 18px rgba(0,0,0,0.34),
    0 18px 46px rgba(0,0,0,0.28);
}

.caf-founder-section__word {
  display: inline-block;

  opacity: 0;
  transform: translateY(18px);
  filter: blur(8px);

  animation: cafFounderWordLoop 6s ease-in-out infinite;
}

.caf-founder-section__dot-char {
  display: inline-block;
  margin-left: var(--caf-dot-spacing);
}

.caf-founder-section__word--one {
  animation-delay: 0s;
}

.caf-founder-section__word--two {
  animation-delay: 0.48s;
}

.caf-founder-section__word--three {
  color: var(--caf-green);
  animation-delay: 0.96s;
}

.caf-founder-section__manifesto p {
  margin: 14px 0 0;

  color: rgba(255,255,255,0.78);
  font-size: clamp(15px, 1.25vw, 20px);
  line-height: 1.45;
  font-weight: 400;
  letter-spacing: -0.015em;

  text-shadow:
    0 3px 14px rgba(0,0,0,0.28);

  opacity: 0;
  transform: translateY(10px);
  animation: cafFounderSubLoop 6s ease-in-out infinite;
  animation-delay: 1.35s;
}

.caf-founder-section.is-visible .caf-founder-section__text-item {
  animation: cafFounderItemIn 0.7s ease both;
}

.caf-founder-section.is-visible .caf-founder-section__text-item:nth-child(1) { animation-delay: 0.22s; }
.caf-founder-section.is-visible .caf-founder-section__text-item:nth-child(2) { animation-delay: 0.32s; }
.caf-founder-section.is-visible .caf-founder-section__text-item:nth-child(3) { animation-delay: 0.42s; }

@keyframes cafFounderItemIn {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes cafFounderOrbOne {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(34px, -22px, 0) scale(1.07); }
}

@keyframes cafFounderOrbTwo {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(-28px, 28px, 0) scale(1.08); }
}

@keyframes cafFounderMiniFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

@keyframes cafFounderLeafFloat {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
  50% { transform: translate3d(-12px, 10px, 0) rotate(-3deg); }
}

@keyframes cafFounderDotPulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.35); opacity: 0; }
}

@keyframes cafFounderBarSheen {
  0% { transform: translateX(-120%); opacity: 0; }
  18% { opacity: 1; }
  55% { transform: translateX(120%); opacity: 1; }
  100% { transform: translateX(120%); opacity: 0; }
}

@keyframes cafFounderWordLoop {
  0% { opacity: 0; transform: translateY(18px); filter: blur(8px); }
  13% { opacity: 1; transform: translateY(0); filter: blur(0); }
  68% { opacity: 1; transform: translateY(0); filter: blur(0); }
  82% { opacity: 0; transform: translateY(-14px); filter: blur(8px); }
  100% { opacity: 0; transform: translateY(-14px); filter: blur(8px); }
}

@keyframes cafFounderSubLoop {
  0% { opacity: 0; transform: translateY(10px); }
  12% { opacity: 1; transform: translateY(0); }
  62% { opacity: 1; transform: translateY(0); }
  78% { opacity: 0; transform: translateY(-8px); }
  100% { opacity: 0; transform: translateY(-8px); }
}

@media (max-width: 1100px) {
  .caf-founder-section__inner { grid-template-columns: 1fr; }
  .caf-founder-section__visual { max-width: 560px; margin: 0 auto; width: 100%; }
  .caf-founder-section__content { max-width: 860px; }
  .caf-founder-section__photo-card { min-height: 520px; }
}

@media (max-width: 767px) {
  .caf-founder-section { padding: 38px 14px 20px; border-radius: 24px; }
  .caf-founder-section__inner { gap: 28px; }
  .caf-founder-section__photo-card { min-height: 390px; border-radius: 26px; }
  .caf-founder-section__photo-card::before { inset: 12px; border-radius: 20px; }
  .caf-founder-section__badge { left: 16px; right: 16px; bottom: 16px; padding: 11px 12px; font-size: 10px; letter-spacing: 0.045em; }
  .caf-founder-section__mini-card { position: relative; left: auto; right: auto; top: auto; bottom: auto; width: 100%; margin-top: 10px; animation: none; }
  .caf-founder-section__mini-card--two { margin-top: 8px; }
  .caf-founder-section__eyebrow { font-size: 10px; letter-spacing: 0.12em; }
  .caf-founder-section__eyebrow span { width: 30px; }
  .caf-founder-section__content h2 { font-size: clamp(34px, 10vw, 46px); line-height: 1.03; }
  .caf-founder-section__lead { margin-top: 18px; font-size: 16px; line-height: 1.62; }
  .caf-founder-section__text-stack { gap: 10px; }
  .caf-founder-section__text-item { grid-template-columns: 28px minmax(0, 1fr); gap: 10px; padding: 16px; border-radius: 19px; }
  .caf-founder-section__dot { width: 28px; height: 28px; }
  .caf-founder-section__dot::before { inset: 9px; }
  .caf-founder-section__dot::after { inset: 4px; }
  .caf-founder-section__text-item h3 { font-size: 18px; }
  .caf-founder-section__text-item p { font-size: 14px; line-height: 1.52; }
  .caf-founder-section__manifesto { margin-top: 28px; border-radius: 22px; }
  .caf-founder-section__manifesto-inner { min-height: 150px; }
  .caf-founder-section__manifesto-media,
  .caf-founder-section__manifesto-video { transform: scale(1.06); }
  .caf-founder-section__words { font-size: clamp(34px, 10vw, 46px); }
  .caf-founder-section__manifesto p { font-size: 15px; }
  .caf-founder-section__leaf { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .caf-founder-section,
  .caf-founder-section *,
  .caf-founder-section::before,
  .caf-founder-section::after {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }

  .caf-founder-section__visual,
  .caf-founder-section__content,
  .caf-founder-section__word,
  .caf-founder-section__manifesto p {
    opacity: 1 !important;
    filter: none !important;
  }

  .caf-founder-section__manifesto-media,
  .caf-founder-section__manifesto-video { transform: none !important; }
}
