/* ==========================================================================
   RYDUB — Founder site
   Editorial, photography-first. Display type: Bricolage Grotesque.
   ========================================================================== */

:root {
  --ink: #12173A;
  --ink-soft: #4A4F72;
  --ink-mute: #8589A6;

  --primary: #4F62AF;
  --primary-dark: #2E3B73;
  --primary-darker: #1C2650;
  --primary-tint: #EEF1FA;

  --gold: #FFCC29;
  --gold-dark: #E6A800;

  --paper: #F4F1EA;
  --paper-2: #EBE6DB;
  --white: #FFFdf8;
  --line: rgba(18, 23, 58, 0.10);
  --deep: #0B0E22;

  --shadow-sm: 0 2px 10px rgba(18, 23, 58, 0.06);
  --shadow-md: 0 18px 50px rgba(18, 23, 58, 0.10);
  --shadow-lg: 0 30px 80px rgba(18, 23, 58, 0.16);

  --font-display: "Bricolage Grotesque", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --header: 78px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.05;
  color: var(--ink);
}

.container {
  max-width: 1280px;
}

/* ---- Type helpers ---- */
.kicker {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.kicker::before {
  content: "";
  width: 28px;
  height: 1.5px;
  background: var(--gold);
}

.kicker.gold { color: var(--gold); }

.section {
  padding: 120px 0;
}

.section-head {
  max-width: 720px;
  margin-bottom: 64px;
}

.section-head h2 {
  font-size: clamp(32px, 4.4vw, 52px);
  margin-bottom: 20px;
}

.section-head p {
  font-size: 17.5px;
  color: var(--ink-soft);
  max-width: 560px;
}

.section-head.on-dark h2 { color: #fff; }
.section-head.on-dark p { color: rgba(255,255,255,0.68); }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14.5px;
  color: var(--primary);
}

.text-link svg { width: 15px; height: 15px; transition: transform 0.3s var(--ease); }
.photo-card:hover .text-link svg { transform: translateX(4px); }

/* ---- Buttons ---- */
.rd-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 2px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
  white-space: nowrap;
}

.rd-btn svg { width: 16px; height: 16px; transition: transform 0.3s var(--ease); }
.rd-btn:hover { transform: translateY(-2px); }
.rd-btn:hover svg { transform: translateX(3px); }

.rd-btn-primary {
  background: linear-gradient(135deg, #4F62AF, #2E3B73);
  color: #fff;
  box-shadow: var(--shadow-md);
}

.rd-btn-gold {
  background: linear-gradient(135deg, #FFDE6E, #FFCC29 55%, #E6A800);
  color: var(--primary-darker);
  box-shadow: 0 12px 32px rgba(255, 204, 41, 0.32);
}

/* ---- Reveal ---- */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.12s; }
.reveal-delay-2 { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation: none !important; }
}


/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 18px 0;
  transition: padding 0.35s var(--ease), background 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.site-header.scrolled {
  padding: 10px 0;
  background: rgba(244, 241, 234, 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 1px 0 var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.header-inner .nav-links {
  margin-left: auto;
}

.brand img { height: 42px; width: auto; display: block;  }


.brand-footer img{
  height: 42px; width: auto; display: block;   filter: brightness(0) invert(1);

}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-family: var(--font-display);
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-soft);
  position: relative;
  padding: 4px 0;
  transition: color 0.25s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 1.5px;
  background: var(--gold);
  transition: width 0.3s var(--ease);
}

.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 12px; }

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border-radius: 2px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  content: "";
  display: block;
  width: 18px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

.nav-toggle span { margin: 4px 0; }
.nav-toggle.active span { opacity: 0; }
.nav-toggle.active::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle.active::after { transform: translateY(-6px) rotate(-45deg); }
.nav-toggle::before,
.nav-toggle::after { transition: transform 0.3s ease; }

@media (max-width: 991px) {
  .nav-links {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: min(320px, 84vw);
    margin-left: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 22px;
    padding: 40px;
    box-shadow: -24px 0 60px rgba(18, 23, 58, 0.14);
    transform: translateX(100%);
    transition: transform 0.4s var(--ease);
  }
  .nav-links.open { transform: none; }
  .nav-links a { font-size: 22px; }
  .nav-toggle { display: flex; }
}


/* ==========================================================================
   HERO — editorial, Eternal-like
   ========================================================================== */
.hero {
  padding: 168px 0 72px;
  background:
    radial-gradient(ellipse 70% 50% at 0% 0%, rgba(79, 98, 175, 0.10), transparent 60%),
    radial-gradient(ellipse 50% 40% at 100% 20%, rgba(255, 204, 41, 0.16), transparent 60%),
    var(--paper);
}

.hero h1 {
  font-size: clamp(40px, 6.4vw, 76px);
  margin-bottom: 28px;
  max-width: 18ch;
}

.hero h1 em {
  font-style: normal;
  position: relative;
  white-space: nowrap;
}

.hero h1 em::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 8px;
  height: 0.28em;
  background: var(--gold);
  z-index: -1;
  opacity: 0.7;
  border-radius: 2px;
}

.hero-sub {
  font-size: 18px;
  color: var(--ink-soft);
  max-width: 46ch;
}

.founder-chip {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 18px 14px 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 2px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.founder-chip:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.founder-chip-photo {
  width: 48px; height: 48px;
  border-radius: 2px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #4F62AF, #2E3B73);
  font-family: var(--font-display);
  font-weight: 700;
  color: #fff;
  font-size: 15px;
}

.founder-chip-text { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.founder-chip-text small {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-family: var(--font-display);
  font-weight: 600;
}
.founder-chip-text strong {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
}
.founder-chip > svg { width: 18px; height: 18px; color: var(--primary); flex-shrink: 0; }


/* Full-bleed cinema frames */
.cinema {
  position: relative;
  margin: 0;
  height: min(52vh, 520px);
  overflow: hidden;
}

.cinema img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  transition: transform 8s var(--ease);
}

.cinema.is-visible img { transform: scale(1); }

.cinema::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11,14,34,0.55) 0%, transparent 45%);
  pointer-events: none;
}

.cinema figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 36px clamp(20px, 5vw, 72px);
  color: #fff;
}

.cinema figcaption span {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}

.cinema figcaption strong {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 700;
  letter-spacing: -0.03em;
}


/* ==========================================================================
   PHOTO CARDS — Eternal "our businesses"
   ========================================================================== */
.photo-card {
  background: var(--white);
  border-radius: 2px;
  overflow: hidden;
  border: 1px solid var(--line);
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}

.photo-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.photo-card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--paper-2);
}

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

.photo-card:hover .photo-card-media img { transform: scale(1.07); }

.photo-card-body {
  padding: 28px 28px 32px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.photo-card-body h3 {
  font-size: 26px;
  margin-bottom: 10px;
}

.photo-card-body p {
  color: var(--ink-soft);
  font-size: 15.5px;
  margin-bottom: 22px;
  flex: 1;
}


/* ==========================================================================
   ROADMAP
   ========================================================================== */
.roadmap {
  position: relative;
  padding: 120px 0;
  overflow: hidden;
  color: #fff;
}

.roadmap-bg {
  position: absolute;
  inset: 0;
}

.roadmap-bg img {
  width: 100%; height: 120%;
  object-fit: cover;
  filter: grayscale(0.15) contrast(1.05);
}

.roadmap-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(11,14,34,0.72) 0%, rgba(11,14,34,0.82) 100%),
    linear-gradient(90deg, rgba(11,14,34,0.35), transparent 40%);
}

.roadmap-inner { position: relative; z-index: 2; }

.road-step {
  padding: 32px 28px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 2px;
  height: 100%;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.road-step.is-active {
  background: rgba(255, 204, 41, 0.12);
  border-color: rgba(255, 204, 41, 0.4);
}

.road-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 2px;
  border: 1px solid rgba(255,255,255,0.18);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  color: var(--gold);
  margin-bottom: 22px;
}

.road-step.is-active .road-num {
  background: var(--gold);
  color: var(--primary-darker);
  border-color: transparent;
}

.road-step h3 {
  color: #fff;
  font-size: 24px;
  margin-bottom: 12px;
}

.road-step p {
  color: rgba(255,255,255,0.68);
  font-size: 15px;
}

.road-tag {
  display: inline-block;
  margin-top: 20px;
  padding: 6px 12px;
  border-radius: 2px;
  background: rgba(255,255,255,0.08);
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.78);
  font-weight: 600;
}


/* ==========================================================================
   VISION / MISSION
   ========================================================================== */
.vm-panel {
  padding: 90px 56px;
  min-height: 420px;
}

.vm-panel.vision {
  background: var(--white);
}

.vm-panel.mission {
  background: var(--primary-darker);
  color: #fff;
}

.vm-panel h2 {
  font-size: clamp(26px, 2.6vw, 36px);
  max-width: 420px;
  margin-bottom: 18px;
  line-height: 1.15;
}

.vm-panel.mission h2 { color: #fff; }

.vm-panel p:last-child {
  font-size: 16px;
  max-width: 440px;
}

.vm-panel.vision p:last-child { color: var(--ink-soft); }
.vm-panel.mission p:last-child { color: rgba(255,255,255,0.68); }

@media (max-width: 991px) {
  .vm-panel { padding: 64px 28px; min-height: 0; }
}


/* ==========================================================================
   PILLARS
   ========================================================================== */
.pillar-card {
  background: var(--white);
  border-radius: 2px;
  border: 1px solid var(--line);
  padding: 32px 28px;
  height: 100%;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.pillar-card span {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-dark);
  font-weight: 700;
}

.pillar-card h3 {
  font-size: 22px;
  margin: 12px 0 12px;
}

.pillar-card p { color: var(--ink-soft); font-size: 15px; }


/* ==========================================================================
   FOUNDER NOTE
   ========================================================================== */
.founder-note { background: var(--white); }

.founder-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 32px 28px 36px;
  text-align: center;
  position: sticky;
  top: 110px;
}

.founder-portrait {
  width: 120px; height: 120px;
  margin: 0 auto 22px;
  border-radius: 2px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #4F62AF, #2E3B73);
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.04em;
}

.founder-portrait span {
  display: block;
}

.founder-card h4 { font-size: 22px; margin-bottom: 4px; }
.founder-card .role {
  color: var(--primary);
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 6px;
}
.founder-loc { font-size: 13px; color: var(--ink-mute); margin-bottom: 20px; }

.founder-socials { display: flex; justify-content: center; gap: 10px; }
.founder-socials a {
  width: 36px; height: 36px;
  border-radius: 2px;
  background: var(--white);
  display: grid;
  place-items: center;
  color: var(--primary);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), background 0.3s ease, color 0.3s ease;
}
.founder-socials a:hover {
  transform: translateY(-3px);
  background: var(--primary);
  color: #fff;
}
.founder-socials svg { width: 15px; height: 15px; }

.quote-mark {
  font-family: var(--font-display);
  font-size: 92px;
  line-height: 0.4;
  color: var(--gold);
  display: block;
  margin-bottom: 12px;
}

.founder-copy .lede {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.45;
  color: var(--ink);
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 22px;
}

.founder-copy p {
  font-size: 17.5px;
  color: var(--ink-soft);
  margin-bottom: 18px;
  max-width: 62ch;
}

.founder-sign {
  margin-top: 36px;
  font-family: var(--font-display);
  font-size: 26px;
  color: var(--primary);
  font-weight: 700;
}

.founder-sign span {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 600;
}


/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact {
  background: var(--primary-tint);
  text-align: center;
}

.contact-inner {
  padding: 100px 0;
}

.contact-inner .kicker {
  justify-content: center;
}

.contact-inner h2 {
  font-size: clamp(30px, 4vw, 48px);
  max-width: 16ch;
  margin: 0 auto 18px;
}

.contact-inner p {
  color: var(--ink-soft);
  font-size: 17px;
  margin-bottom: 32px;
}


/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: var(--deep);
  color: rgba(255,255,255,0.68);
  padding: 80px 0 0;
}

.footer-top { padding-bottom: 56px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-blurb {
  max-width: 320px;
  margin: 18px 0 24px;
  font-size: 14.5px;
  color: rgba(255,255,255,0.5);
}

.footer-socials { display: flex; gap: 10px; }
.footer-socials a {
  width: 38px; height: 38px;
  border-radius: 2px;
  background: rgba(255,255,255,0.06);
  display: grid;
  place-items: center;
  transition: background 0.3s ease, color 0.3s ease;
}
.footer-socials a:hover { background: var(--gold); color: var(--primary-darker); }
.footer-socials svg { width: 16px; height: 16px; }

.site-footer h5 {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.38);
  margin-bottom: 18px;
  font-weight: 600;
}

.site-footer ul li { margin-bottom: 12px; }
.site-footer ul a {
  font-size: 14.5px;
  color: rgba(255,255,255,0.72);
  transition: color 0.25s ease;
}
.site-footer ul a:hover { color: var(--gold); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 24px 0;
  font-size: 13px;
  color: rgba(255,255,255,0.38);
}

.footer-legal { display: flex; gap: 22px; }
.footer-legal a { color: rgba(255,255,255,0.5); }
.footer-legal a:hover { color: var(--gold); }

.to-top {
  position: fixed;
  right: 22px; bottom: 22px;
  z-index: 90;
  width: 46px; height: 46px;
  border-radius: 2px;
  background: linear-gradient(135deg, #4F62AF, #2E3B73);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.to-top.visible { opacity: 1; pointer-events: auto; transform: none; }
.to-top svg { width: 18px; height: 18px; }

.cinema figcaption {
  flex-wrap: wrap;
}

@media (max-width: 767px) {
  .hero { padding: 132px 0 48px; }
  .section { padding: 80px 0; }
  .cinema { height: 52vh; }
  .banner { min-height: 62vh; }
  .founder-card { position: static; }
}
