/* =====================================================
   ÜBER FABIAN RIES — restyle additions
   Builds on restyle.css. Same dark ambient vocabulary.
   Adds: portrait hero, cinema video, story timeline,
   pull quotes, signature card, CTA blocks.
===================================================== */

/* -------- Hero eyebrow pill (re-uses) -------- */
.rs-hero__eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.5rem 1rem; border-radius: 999px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(12px);
  font-family: var(--font-headline); font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.06em; color: var(--rs-fg-soft);
  margin-bottom: 1.75rem;
}
.rs-pulse-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--rs-teal);
  box-shadow: 0 0 0 0 rgba(118,214,213,0.6);
  animation: rsPulse 2s ease-out infinite;
}
@keyframes rsPulse {
  0% { box-shadow: 0 0 0 0 rgba(118,214,213,0.6); }
  100% { box-shadow: 0 0 0 8px rgba(118,214,213,0); }
}

/* -------- HERO with portrait -------- */
.rs-hero--fabian {
  min-height: auto;
  padding: 9rem 0 5rem;
  display: block;
}
@media (max-width: 768px) { .rs-hero--fabian { padding: 6rem 0 3rem; } }

.rs-hero--fabian .rs-hero__inner {
  text-align: left;
  max-width: 1100px;
  padding: 0 2rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
@media (min-width: 900px) {
  .rs-hero--fabian .rs-hero__inner {
    grid-template-columns: 7fr 5fr;
    gap: 4rem;
    align-items: center;
  }
}
@media (max-width: 640px) { .rs-hero--fabian .rs-hero__inner { padding: 0 1.25rem; } }

.rs-hero--fabian .rs-hero__title {
  font-size: clamp(2.2rem, 5vw, 4rem);
  text-align: left;
  max-width: 16ch;
  margin-left: 0;
  text-wrap: balance;
}
.rs-hero--fabian .rs-hero__body {
  text-align: left;
  margin-left: 0;
  max-width: 38rem;
  margin-bottom: 2.25rem;
}

/* Portrait card on the right */
.rs-fab-portrait {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: 24px;
  overflow: hidden;
  background: var(--rs-glass-bg);
  border: 1px solid var(--rs-glass-border);
  box-shadow:
    0 40px 100px -30px rgba(0,0,0,0.7),
    0 0 0 1px rgba(255,255,255,0.03),
    0 0 80px -20px rgba(155,105,230,0.35);
  max-width: 420px;
  margin: 0 auto;
  width: 100%;
}
.rs-fab-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: saturate(0.95) brightness(0.92);
}
.rs-fab-portrait__fade {
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(8,7,13,0.45) 0%, transparent 35%),
    linear-gradient(135deg, rgba(155,105,230,0.0) 60%, rgba(155,105,230,0.18) 100%);
  pointer-events: none;
}
.rs-fab-portrait__sig {
  position: absolute;
  left: 1.25rem;
  bottom: 1.25rem;
  right: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.7rem 1rem;
  background: rgba(8,7,13,0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 999px;
  font-family: var(--rs-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rs-fg-mute);
}
.rs-fab-portrait__sig strong {
  font-family: var(--font-headline);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #fff;
  text-transform: none;
  font-size: 0.78rem;
}
.rs-fab-portrait__sig span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--rs-teal);
}
.rs-fab-portrait__sig span::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--rs-teal);
  box-shadow: 0 0 8px rgba(118,214,213,0.7);
}

/* -------- CINEMA VIDEO -------- */
.rs-section--cinema {
  padding: 0 0 4rem;
}
@media (max-width: 768px) { .rs-section--cinema { padding: 0 0 2.25rem; } }

.rs-cinema-wrap {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 2rem;
}
@media (max-width: 640px) { .rs-cinema-wrap { padding: 0 1.25rem; } }

.rs-cinema {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: 22px;
  overflow: hidden;
  background: var(--rs-glass-bg);
  border: 1px solid rgba(118,214,213,0.16);
  box-shadow:
    0 40px 100px -30px rgba(0,0,0,0.7),
    0 0 80px -20px rgba(118,214,213,0.18);
  cursor: pointer;
}
.rs-cinema img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.85;
}
.rs-cinema iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
}
.rs-cinema__play {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 76px; height: 76px;
  border-radius: 50%;
  background: rgba(255,255,255,0.95);
  color: #1a1233;
  border: none;
  display: flex; align-items: center; justify-content: center;
  box-shadow:
    0 12px 36px rgba(0,0,0,0.45),
    0 0 60px rgba(255,255,255,0.25);
  transition: transform 0.3s ease;
  z-index: 2;
  cursor: pointer;
}
.rs-cinema:hover .rs-cinema__play { transform: translate(-50%, -50%) scale(1.08); }
.rs-cinema__play svg { width: 26px; height: 26px; margin-left: 3px; }
.rs-cinema__caption {
  position: absolute;
  left: 1rem; bottom: 1rem;
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.55rem 0.95rem;
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 999px;
  font-family: var(--rs-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  z-index: 2;
}

/* -------- STORY / TIMELINE -------- */
.rs-section--story { padding: 6rem 0 7rem; }
@media (max-width: 768px) { .rs-section--story { padding: 3rem 0 4rem; } }

.rs-story-grid {
  display: grid; grid-template-columns: 1fr; gap: 3rem;
}
@media (min-width: 1024px) {
  .rs-story-grid { grid-template-columns: 4fr 8fr; gap: 5rem; align-items: start; }
}

.rs-story-intro { position: sticky; top: 6rem; }
@media (max-width: 1023px) { .rs-story-intro { position: static; } }

.rs-story-intro p {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--rs-fg-soft);
  font-weight: 300;
  margin: 1rem 0 0;
  max-width: 28rem;
  text-wrap: pretty;
}

.rs-fab-tl {
  position: relative;
  padding-left: 2.75rem;
}
.rs-fab-tl::before {
  content: '';
  position: absolute;
  top: 0.5rem; left: 0.75rem; bottom: 0.5rem;
  width: 1px;
  background: linear-gradient(
    to bottom,
    rgba(200,193,255,0.4) 0%,
    rgba(118,214,213,0.25) 50%,
    rgba(200,193,255,0.05) 100%
  );
}

.rs-tl-item {
  position: relative;
  padding: 0 0 3rem;
}
.rs-tl-item:last-child { padding-bottom: 0; }
.rs-tl-item__dot {
  position: absolute;
  left: -2.75rem; top: 0.4rem;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--rs-teal);
  box-shadow:
    0 0 0 4px rgba(118,214,213,0.12),
    0 0 16px rgba(118,214,213,0.55);
  z-index: 1;
}
.rs-tl-item--feature .rs-tl-item__dot {
  background: var(--rs-lavender);
  box-shadow:
    0 0 0 4px rgba(200,193,255,0.14),
    0 0 18px rgba(200,193,255,0.6);
}
.rs-tl-item__label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--rs-mono);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--rs-teal);
  margin-bottom: 0.85rem;
}
.rs-tl-item--feature .rs-tl-item__label { color: var(--rs-lavender); }
.rs-tl-item__title {
  font-family: var(--font-headline);
  font-size: clamp(1.4rem, 2.6vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.2;
  color: #fff;
  margin: 0 0 1.1rem;
  text-wrap: pretty;
}
.rs-tl-item p {
  font-size: 1.0625rem;
  font-weight: 300;
  color: var(--rs-fg-soft);
  line-height: 1.75;
  margin: 0 0 1rem;
  max-width: 38rem;
  text-wrap: pretty;
}
.rs-tl-item p:last-child { margin-bottom: 0; }
.rs-tl-item p em { color: var(--rs-lavender); font-style: italic; }

/* Pull quote inside timeline */
.rs-pull {
  position: relative;
  margin: 1.5rem 0;
  padding: 1.4rem 1.5rem 1.4rem 1.75rem;
  background: rgba(200,193,255,0.04);
  border-left: 2px solid var(--rs-lavender);
  border-radius: 0 14px 14px 0;
}
.rs-pull::before {
  content: '\201C';
  position: absolute;
  top: -0.6rem; left: 0.6rem;
  font-family: Georgia, serif;
  font-size: 3rem;
  line-height: 1;
  color: var(--rs-lavender);
  opacity: 0.35;
}
.rs-pull p {
  font-family: var(--font-headline);
  font-size: 1.1875rem !important;
  font-weight: 700 !important;
  color: #fff !important;
  line-height: 1.4 !important;
  letter-spacing: -0.015em;
  margin: 0 !important;
  font-style: italic;
}
.rs-pull--teal {
  background: rgba(118,214,213,0.05);
  border-left-color: var(--rs-teal);
}
.rs-pull--teal::before { color: var(--rs-teal); }

/* Inline image inside a timeline item */
.rs-tl-figure {
  margin: 1.5rem 0 0.5rem;
  border-radius: 14px;
  overflow: hidden;
  background: var(--rs-glass-bg);
  border: 1px solid var(--rs-glass-border);
  max-width: 30rem;
}
.rs-tl-figure img {
  width: 100%; height: auto; display: block;
  filter: saturate(0.95) brightness(0.92);
}

/* -------- CREDENTIALS card -------- */
.rs-creds {
  margin-top: 2.5rem;
  padding: 1.75rem 1.85rem;
  background: var(--rs-glass-bg);
  border: 1px solid var(--rs-glass-border);
  border-left: 2px solid rgba(118,214,213,0.5);
  border-radius: 0 16px 16px 0;
  backdrop-filter: blur(var(--rs-glass-blur));
  -webkit-backdrop-filter: blur(var(--rs-glass-blur));
  max-width: 28rem;
}
.rs-creds__name {
  font-family: var(--font-headline);
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 0.85rem;
  letter-spacing: -0.01em;
}
.rs-creds ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex; flex-direction: column;
  gap: 0.55rem;
}
.rs-creds li {
  position: relative;
  padding-left: 1rem;
  font-size: 0.875rem;
  color: var(--rs-fg-soft);
  line-height: 1.5;
  font-weight: 400;
}
.rs-creds li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.55em;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--rs-teal);
}
.rs-creds li a,
.rs-tl-item p a {
  color: var(--rs-teal);
  text-decoration: none;
  border-bottom: 1px solid rgba(118,214,213,0.35);
  transition: color 0.2s, border-color 0.2s;
}
.rs-creds li a:hover,
.rs-tl-item p a:hover {
  color: #fff;
  border-color: rgba(255,255,255,0.5);
}

/* -------- CTA cards (closing) -------- */
.rs-cta-split {
  display: grid; grid-template-columns: 1fr; gap: 1.5rem;
}
@media (min-width: 768px) {
  .rs-cta-split { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

.rs-cta-block {
  position: relative;
  padding: 2.5rem;
  background: var(--rs-glass-bg);
  border: 1px solid var(--rs-glass-border);
  border-radius: 22px;
  backdrop-filter: blur(var(--rs-glass-blur));
  -webkit-backdrop-filter: blur(var(--rs-glass-blur));
  display: flex; flex-direction: column;
  overflow: hidden;
  transition: border-color 0.4s ease, transform 0.4s ease;
}
.rs-cta-block:hover { border-color: rgba(118,214,213,0.3); transform: translateY(-3px); }
.rs-cta-block--feature {
  background: rgba(200,193,255,0.04);
  border-color: rgba(200,193,255,0.22);
  box-shadow: 0 0 80px -30px rgba(200,193,255,0.4);
}
.rs-cta-block--feature:hover { border-color: rgba(200,193,255,0.4); }
.rs-cta-block::after {
  content: ''; position: absolute;
  top: 0; right: 0;
  width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(118,214,213,0.14) 0%, transparent 70%);
  filter: blur(40px); pointer-events: none;
}
.rs-cta-block--feature::after {
  background: radial-gradient(circle, rgba(200,193,255,0.18) 0%, transparent 70%);
}
.rs-cta-block > * { position: relative; }
.rs-cta-block__eyebrow {
  font-family: var(--rs-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rs-teal);
  margin: 0 0 1rem;
}
.rs-cta-block--feature .rs-cta-block__eyebrow { color: var(--rs-lavender); }
.rs-cta-block__title {
  font-family: var(--font-headline);
  font-size: clamp(1.5rem, 2.6vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: #fff;
  margin: 0 0 1.1rem;
  text-wrap: balance;
}
.rs-cta-block__body {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--rs-fg-soft);
  margin: 0 0 1.75rem;
  flex: 1;
}
.rs-cta-block__link {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: var(--font-headline);
  font-size: 0.9375rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--rs-teal);
  align-self: flex-start;
  border-bottom: 1px solid rgba(118,214,213,0.4);
  padding-bottom: 0.2rem;
  transition: color 0.2s, border-color 0.2s, gap 0.25s;
}
.rs-cta-block--feature .rs-cta-block__link {
  color: var(--rs-lavender);
  border-bottom-color: rgba(200,193,255,0.4);
}
.rs-cta-block__link:hover {
  color: #fff; border-color: #fff;
  gap: 0.85rem;
}

/* -------- Section header centered helper -------- */
.rs-section__header--center {
  text-align: center;
  margin: 0 auto 3.5rem;
  max-width: 720px;
}
.rs-section__header--center .rs-overline { justify-content: center; }
.rs-section__header--center .rs-overline::before { display: none; }
.rs-section__header--center .rs-overline::after {
  content: ''; width: 18px; height: 1px; background: currentColor; opacity: 0.6;
}
@media (max-width: 768px) {
  .rs-section__header--center { margin-bottom: 2.25rem; }
}
