/* ==========================================================================
   Laviv Family Office — landing page styles
   Hand-written rebuild of lavivfamily.org (desktop 1440 reference)
   ========================================================================== */

/* --- Custom font -----------------------------------------------------------
   The live site declares "Creato Display" but its @font-face points to a .zip,
   so browsers fall back to Arial. To match the live rendering we keep the same
   stack. If you have the Creato Display web fonts, drop them into
   assets/fonts/ and uncomment the block below.
--------------------------------------------------------------------------- */
/*
@font-face { font-family: "Creato Display"; src: url("../fonts/CreatoDisplay-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Creato Display"; src: url("../fonts/CreatoDisplay-Medium.woff2")  format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Creato Display"; src: url("../fonts/CreatoDisplay-Bold.woff2")    format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
*/

:root {
  --font-primary: "Creato Display", Arial, sans-serif;
  --black: #0b1d12;
  --light-black: #3e3e3e;
  --grey: dimgrey;              /* #696969 */
  --gold: #c4a962;
  --gold-dark: #84671d;
  --lite-white: #eff4f3;
  --footer-cream: #f9f8f5;
  --white: #ffffff;

  --container: 1390px;
  --gutter: 15px;
}

/* --- Reset ------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-primary);
  font-size: 18px;
  line-height: 1.3;
  color: var(--black);
  background: var(--white);
  min-height: 100%;
}
img { max-width: 100%; vertical-align: middle; border: 0; display: inline-block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* --- Header ------------------------------------------------------------ */
.site-header {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 10;
  padding: 38px 0;
  background: transparent;
}
.site-header .container { max-width: none; }
.brand {
  display: inline-block;
  padding-left: 6%;
  line-height: 0;
}
.brand-logo { width: 81px; height: 77px; }

/* --- Hero (desktop) ---------------------------------------------------- */
.hero-desktop {
  height: 100vh;
  min-height: 700px;
  padding: 200px 0 25px;
  /* real artwork first; the gradient underneath is a fallback that approximates
     the cream circle (sized/positioned to match hero-bg.png at 1920x1030) if
     the image is missing */
  background-image: url("../images/hero-bg.png"),
                    radial-gradient(circle 36vw at 84.5% 73%, #faf4de 0 99.5%, transparent 100%);
  background-color: #faf9f5;
  background-position: 50% 50%;
  background-size: cover;
  background-repeat: no-repeat;
}
.hero-title {
  margin: 20px 0 10px;
  padding-top: 40px;
  font-size: 80px;
  line-height: 1;
  font-weight: 500;
  letter-spacing: -2px;
  color: #000;
}
.hero-title .accent { color: var(--gold); }
.hero-copy {
  max-width: 490px;
  margin: 40px 0 0 10px;
  padding: 40px 0 0 10px;
  font-size: 18px;
  line-height: 1.3;
  font-weight: 500;
  color: var(--light-black);
}

/* --- Hero (mobile) ----------------------------------------------------- */
.hero-mobile { display: none; position: relative; }
.hero-mobile-bg { display: block; width: 100%; height: auto; }
/* heading is real text on mobile (the artwork only carries the cream circle) */
.hero-mobile-title {
  position: absolute; top: 26.4%; left: 5%; margin: 0;
  font-size: 40px; line-height: 58px; font-weight: 700; letter-spacing: -0.5px; color: var(--black);
}
.hero-mobile-title .accent { color: var(--gold); }
/* fallback when hero-bg-mobile.png is missing */
.hero-mobile.no-img { height: 178vw; background: radial-gradient(circle 60vw at 80% 42%, #faf4de 0 99%, transparent 100%) #faf9f5; }
.hero-mobile.no-img .hero-mobile-bg { display: none; }
.hero-mobile-overlay {
  position: absolute;
  top: 61%; left: 0; right: 0;
}
.hero-mobile-copy {
  margin: 0;
  padding: 0 2% 0 5%;
  font-size: 16px;
  line-height: 1.3;
  font-weight: 500;
  color: var(--light-black);
  text-align: left;
}

/* --- Leaders ----------------------------------------------------------- */
.leaders { background: var(--white); }
.leaders .container { background: var(--white); padding-bottom: 50px; }

.section-title {
  margin: 4.78vw 0 calc(50px + 4.76vw);
  font-size: 60px;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: -1.6px;
  text-align: center;
  color: var(--black);
}

.leader {
  display: grid;
  align-items: center;
  column-gap: 25px;
}
.leader + .leader { margin-top: 100px; }

.leader-ravi   { grid-template-columns: 40% 1fr; }
.leader-aryuna { grid-template-columns: 1fr 40%; margin-right: 20px; }

.leader-media { line-height: 0; }
.leader-ravi   .leader-media { padding: 0 35px; }
.leader-aryuna .leader-media { padding: 50px 35px 0; }
.leader-photo { width: 100%; height: auto; }

.leader-aryuna .leader-name,
.leader-aryuna .leader-role { padding-left: 5%; }

.leader-name {
  font-size: 36px;
  line-height: 1.3;
  font-weight: 500;
  letter-spacing: -0.72px;
  color: var(--gold);
}
.leader-role {
  padding: 20px 0;
  font-size: 24px;
  line-height: 23.4px;
  font-weight: 500;
  color: var(--black);
}
.leader-bio {
  font-size: 16px;
  line-height: 1.3;
  font-weight: 400;
  color: var(--grey);
  text-align: justify;
}
.leader-ravi   .leader-bio { padding: 18px 4% 18px 0; }
.leader-aryuna .leader-bio { padding: 18px 2% 18px 5%; }

/* --- Contact strip ----------------------------------------------------- */
.contact-strip {
  margin-top: 30px;
  padding: 2vw 0;
  background: var(--footer-cream);
}
.contact-grid {
  display: flex;
  justify-content: space-evenly;
  align-items: flex-start;
  padding-top: 10px;
}
.contact-item { display: flex; flex-direction: column; align-items: center; }
.contact-label {
  padding-bottom: 5px;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: -0.6px;
  text-align: center;
  color: var(--grey);
}
.contact-value {
  display: block;
  font-size: 16px;
  line-height: 23.4px;
  font-weight: 600;
  color: var(--black);
  text-align: center;
}
.contact-email { color: var(--gold-dark); }

/* --- Footer ------------------------------------------------------------ */
.site-footer {
  padding: 2vw 0;
  background: #000;
  color: var(--white);
  text-align: center;
}
.footer-copy       { padding-bottom: 10px; font-size: 16px; line-height: 23.4px; font-weight: 400; }
.footer-disclaimer { padding: 10px 0; font-size: 16px; line-height: 23.4px; font-weight: 400; }
.footer-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 56px;
  padding-top: 10px;
}
.footer-link {
  display: block;
  padding-bottom: 5px;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: -0.6px;
  color: var(--white);
}

/* ==========================================================================
   Responsive — Webflow breakpoints: 991 / 767 / 479
   ========================================================================== */

/* Tablet */
@media (max-width: 991px) {
  .hero-desktop { height: auto; min-height: 0; }
  .hero-title { margin-top: 0; font-size: 70px; line-height: 0.9; }
  .hero-copy  { padding-top: 0; }
  .section-title { font-size: 70px; }
  .leader-name { font-size: 32px; }
  .leader-role { font-size: 22px; }
  .leader-ravi   .leader-bio { padding-right: 4%; }
  .leader-aryuna .leader-bio { padding: 18px 2% 18px 5%; }
}

/* Mobile landscape */
@media (max-width: 767px) {
  .site-header { padding: 30px 0; }
  .hero-title { font-size: 150px; line-height: 0.9; }
  .hero-copy  { font-size: 16px; }
  .section-title { font-size: 50px; }
  .leader-name { font-size: 28px; }
  .footer-link, .footer-copy, .footer-disclaimer { font-size: 16px; }
}

/* Mobile portrait */
@media (max-width: 479px) {
  .site-header { padding: 22px 0; }
  .brand { padding-left: 0; }
  .brand-logo { width: 63px; height: 60px; }

  .hero-desktop { display: none; }
  .hero-mobile  { display: block; }

  .leaders .container { padding-bottom: 0; }
  .section-title { margin: 76px 0 48px; font-size: 40px; letter-spacing: normal; }

  .leader, .leader-ravi, .leader-aryuna {
    display: block;
    margin-right: 0;
  }
  .leader + .leader { margin-top: 60px; }
  .leader-media,
  .leader-ravi .leader-media,
  .leader-aryuna .leader-media { padding: 0; }
  .leader-aryuna { display: flex; flex-direction: column; }
  .leader-aryuna .leader-media { order: -1; }

  .leader-name,
  .leader-aryuna .leader-name { margin-top: 30px; padding-left: 0; font-size: 24px; letter-spacing: normal; }
  .leader-role,
  .leader-aryuna .leader-role { padding: 10px 5px 10px 0; font-size: 20px; line-height: 1; }
  .leader-bio,
  .leader-ravi .leader-bio,
  .leader-aryuna .leader-bio { padding: 18px 0; text-align: left; }

  .contact-strip { margin-top: 60px; }
  .contact-grid { flex-direction: column; align-items: center; gap: 20px; padding-bottom: 10px; }
  .contact-value { line-height: 20.8px; }
  .contact-label { letter-spacing: normal; }

  .footer-copy, .footer-disclaimer { font-size: 14px; line-height: 20.8px; }
  .footer-links { gap: 16px; }
  .footer-link { font-size: 14px; letter-spacing: normal; }
}
